Update 11_clone.md (#205)

typo in code
This commit is contained in:
Robertino
2024-11-01 04:22:23 -03:00
committed by GitHub
parent 9e63a5cdf6
commit b60e021ab1

View File

@@ -56,7 +56,7 @@ that to `consumer` instead.\
## In memory
Let's look at what happened in memory in the example above.
When `let mut s: String::from("hello");` is executed, the memory looks like this:
When `let mut s = String::from("hello");` is executed, the memory looks like this:
```text
s