This commit is contained in:
Jake Worth 2015-11-07 12:27:58 -06:00
parent 86069e45fe
commit ac19178078

View file

@ -193,7 +193,7 @@ println!("{}", x);
}
```
The problem here is is bit more subtle and interesting. We want Rust to
The problem here is a bit more subtle and interesting. We want Rust to
reject this program for the following reason: We have a live shared reference `x`
to a descendant of `data` when we try to take a mutable reference to `data`
to `push`. This would create an aliased mutable reference, which would