mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-11-16 19:50:44 +01:00
parent
9e63a5cdf6
commit
b60e021ab1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue