Skip to content

Commit b60e021

Browse files
authored
Update 11_clone.md (#205)
typo in code
1 parent 9e63a5c commit b60e021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/04_traits/11_clone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ that to `consumer` instead.\
5656
## In memory
5757

5858
Let's look at what happened in memory in the example above.
59-
When `let mut s: String::from("hello");` is executed, the memory looks like this:
59+
When `let mut s = String::from("hello");` is executed, the memory looks like this:
6060

6161
```text
6262
s

0 commit comments

Comments
 (0)