about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-17 15:41:33 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 17:33:17 +0530
commit4a7eed1e01c5961199e8a125ef80d133c9c0f3d4 (patch)
treeb80a8becbcb7548253f643ced5e8044466b19405
parent2aa31827ed7ad639eec5936a047ecc94b6a47046 (diff)
parent1ac10dde6f621fd60f6546f3516fb3ebae47d14b (diff)
downloadrust-4a7eed1e01c5961199e8a125ef80d133c9c0f3d4.tar.gz
rust-4a7eed1e01c5961199e8a125ef80d133c9c0f3d4.zip
Rollup merge of #22333 - caipre:patch-1, r=steveklabnik
The `Circle::grow` method multiplies the radius by a factor of 10, not 2.
-rw-r--r--src/doc/trpl/method-syntax.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/method-syntax.md b/src/doc/trpl/method-syntax.md
index e6570c2ee74..64d540582a3 100644
--- a/src/doc/trpl/method-syntax.md
+++ b/src/doc/trpl/method-syntax.md
@@ -99,8 +99,8 @@ fn grow(&self) -> Circle {
 # Circle } }
 ```
 
-We just say we're returning a `Circle`. With this, we can grow a new circle
-that's twice as big as the old one.
+We just say we're returning a `Circle`. With this method, we can grow a new
+circle with an area that's 100 times larger than the old one.
 
 ## Static methods