Skip to content

Commit 656d5bb

Browse files
committed
rollup merge of #20227: FlashYoshi/patch-1
2 parents 5bd7a78 + 17bdc3f commit 656d5bb

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
@@ -4181,7 +4181,7 @@ We've made a struct that represents a circle. We then write an `impl` block,
41814181
and inside it, define a method, `area`. Methods take a special first
41824182
parameter, `&self`. There are three variants: `self`, `&self`, and `&mut self`.
41834183
You can think of this first parameter as being the `x` in `x.foo()`. The three
4184-
variants correspond to the three kinds of thing `x` could be: `self` if it's
4184+
variants correspond to the three kinds of things `x` could be: `self` if it's
41854185
just a value on the stack, `&self` if it's a reference, and `&mut self` if it's
41864186
a mutable reference. We should default to using `&self`, as it's the most
41874187
common.

0 commit comments

Comments
 (0)