about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-28 18:12:04 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-28 18:12:04 +0530
commit4aa17c80e605092e05251b5b1a6a08df9cf5fc0c (patch)
treeb80c1c94320560bbe9fea6a09fd6e4c122b5129f
parent5299d36c52c71d22031f2c0ea4badee412ea6861 (diff)
parente604382ad230219f0f692188a6802fd046574444 (diff)
downloadrust-4aa17c80e605092e05251b5b1a6a08df9cf5fc0c.tar.gz
rust-4aa17c80e605092e05251b5b1a6a08df9cf5fc0c.zip
Rollup merge of #23788 - steveklabnik:gh23748, r=alexcrichton
Fixes #23748
-rw-r--r--src/doc/trpl/method-syntax.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/trpl/method-syntax.md b/src/doc/trpl/method-syntax.md
index 41ef705f098..c8309a1e440 100644
--- a/src/doc/trpl/method-syntax.md
+++ b/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
 variants correspond to the three kinds of thing `x` could be: `self` if it's
 just a value on the stack, `&self` if it's a reference, and `&mut self` if it's
 a mutable reference. We should default to using `&self`, as it's the most
-common. Here's an example of all three variants:
+common, as Rustaceans prefer borrowing over taking ownership, and references 
+over mutable references. Here's an example of all three variants:
 
 ```rust
 struct Circle {