Merge pull request #372 from aaaxx/patch-1

Fix reference to wrong figure
This commit is contained in:
Carol (Nichols || Goulding) 2016-12-29 14:14:19 -05:00 committed by GitHub
commit 69447b8633

View File

@ -415,7 +415,7 @@ println!("s1 = {}, s2 = {}", s1, s2);
```
This works just fine and is how you can explicitly produce the behavior shown
in Figure 4-4, where the heap data *does* get copied.
in Figure 4-5, where the heap data *does* get copied.
When you see a call to `clone`, you know that some arbitrary code is being
executed and that code may be expensive. Its a visual indicator that something