This commit is contained in:
Steve Klabnik
2016-01-15 16:20:32 -05:00
parent 9c8c110789
commit 307d96b6fe
+1 -1
View File
@@ -81,7 +81,7 @@ This kind of string can be mutated:
```rust
let mut s = String::from("hello");
s = s + ", world!";
s.push_str(", world!");
```
## Memory and allocation