Merge remote-tracking branch 'origin/master' into first-third-try

This commit is contained in:
Carol (Nichols || Goulding) 2016-08-02 11:28:25 -04:00
commit 7cca51f3c0
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ If you would like to see this version rendered, its [on GitHub pages][html].
## Requirements
Building the book requires [mdBook]. To get it:
Building the book requires [mdBook] >= v0.0.13. To get it:
[mdBook]: https://github.com/azerupi/mdBook

View File

@ -263,7 +263,7 @@ copying can be assumed to be inexpensive.
But what if we _do_ want to deeply copy the `String`s data and not just the
`String` itself? Theres a common method for that: `clone()`. We will discuss
methods in the section on [structs], but theyre a common enough feature
methods in the section on [`structs`], but theyre a common enough feature
in many programming languages that you have probably seen them before.
Heres an example of the `clone()` method in action:
@ -275,7 +275,7 @@ let s2 = s1.clone();
println!("{}", s1);
```
[structs]: ch05-01-structs.html
[`structs`]: ch05-01-structs.html
This will work just fine. Remember our diagram from before? In this case,
it _is_ doing this: