diff --git a/book/src/04_traits/10_clone.md b/book/src/04_traits/10_clone.md index 430026b..a897b48 100644 --- a/book/src/04_traits/10_clone.md +++ b/book/src/04_traits/10_clone.md @@ -75,7 +75,7 @@ Heap: | H | e | l | l | o | When `let t = s.clone()` is executed, a whole new region is allocated on the heap to store a copy of the data: ```text - s s + s t +---------+--------+----------+ +---------+--------+----------+ Stack | pointer | length | capacity | | pointer | length | capacity | | | | 5 | 5 | | | | 5 | 5 |