1 parent
9e63a5cdf6
commit
b60e021ab1
1 file changed
+1
-1
@@ -56,7 +56,7 @@ that to `consumer` instead.\
|
|||||||
## In memory
|
## In memory
|
||||||
|
|
||||||
Let's look at what happened in memory in the example above.
|
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
|
```text
|
||||||
s
|
s
|
||||||
|
|||||||
Reference in new issue
Block a user