Skip to content

Commit 17bdc3f

Browse files
committed
Fixed a small typo
1 parent f673e98 commit 17bdc3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4152,7 +4152,7 @@ We've made a struct that represents a circle. We then write an `impl` block,
41524152
and inside it, define a method, `area`. Methods take a special first
41534153
parameter, `&self`. There are three variants: `self`, `&self`, and `&mut self`.
41544154
You can think of this first parameter as being the `x` in `x.foo()`. The three
4155-
variants correspond to the three kinds of thing `x` could be: `self` if it's
4155+
variants correspond to the three kinds of things `x` could be: `self` if it's
41564156
just a value on the stack, `&self` if it's a reference, and `&mut self` if it's
41574157
a mutable reference. We should default to using `&self`, as it's the most
41584158
common.

0 commit comments

Comments
 (0)