mirror of
https://github.com/rust-lang/book.git
synced 2026-12-01 01:41:21 -06:00
Merge pull request #372 from aaaxx/patch-1
Fix reference to wrong figure
This commit is contained in:
@@ -415,7 +415,7 @@ println!("s1 = {}, s2 = {}", s1, s2);
|
|||||||
```
|
```
|
||||||
|
|
||||||
This works just fine and is how you can explicitly produce the behavior shown
|
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
|
When you see a call to `clone`, you know that some arbitrary code is being
|
||||||
executed and that code may be expensive. It’s a visual indicator that something
|
executed and that code may be expensive. It’s a visual indicator that something
|
||||||
|
|||||||
Reference in New Issue
Block a user