mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 15:40:27 +08:00
Merge pull request #372 from aaaxx/patch-1
Fix reference to wrong figure
This commit is contained in:
commit
69447b8633
@ -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. It’s a visual indicator that something
|
||||
|
Loading…
Reference in New Issue
Block a user