We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5299d36 + e604382 commit 4aa17c8Copy full SHA for 4aa17c8
src/doc/trpl/method-syntax.md
@@ -51,7 +51,8 @@ You can think of this first parameter as being the `x` in `x.foo()`. The three
51
variants correspond to the three kinds of thing `x` could be: `self` if it's
52
just a value on the stack, `&self` if it's a reference, and `&mut self` if it's
53
a mutable reference. We should default to using `&self`, as it's the most
54
-common. Here's an example of all three variants:
+common, as Rustaceans prefer borrowing over taking ownership, and references
55
+over mutable references. Here's an example of all three variants:
56
57
```rust
58
struct Circle {
0 commit comments