Skip to content

Commit

Permalink
Ch. 5.3: dodge a grammatical tripwire
Browse files Browse the repository at this point in the history
Which verb tense matches? Make it so we don’t have to care!
  • Loading branch information
chriskrycho authored Dec 18, 2024
1 parent ebc17d1 commit 0566029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch05-03-method-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ are and how to designate a field or method as public or private in [Chapter
>
> Rust doesn’t have an equivalent to the `->` operator; instead, Rust has a
> feature called *automatic referencing and dereferencing*. Calling methods is
> one of the few places in Rust that have this behavior.
> one of the few places in Rust with this behavior.
>
> Here’s how it works: when you call a method with `object.something()`, Rust
> automatically adds in `&`, `&mut`, or `*` so `object` matches the signature of
Expand Down

0 comments on commit 0566029

Please sign in to comment.