Skip to content

Commit

Permalink
Merge pull request #4098 from forresthopkinsa/patch-1
Browse files Browse the repository at this point in the history
Fix minor grammatical error
  • Loading branch information
chriskrycho authored Dec 18, 2024
2 parents a945c65 + b99b3f9 commit 1855609
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 has 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 1855609

Please sign in to comment.