Rollup merge of #22333 - caipre:patch-1, r=steveklabnik
The `Circle::grow` method multiplies the radius by a factor of 10, not 2.
This commit is contained in:
commit
4a7eed1e01
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue