We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e57e64 + d052363 commit 9c912bfCopy full SHA for 9c912bf
src/lifetimes.md
@@ -213,7 +213,7 @@ understand `Vec` at all. What it *does* see is that `x` has to live for `'b` to
213
be printed. The signature of `Index::index` subsequently demands that the
214
reference we take to `data` has to survive for `'b`. When we try to call `push`,
215
it then sees us try to make an `&'c mut data`. Rust knows that `'c` is contained
216
-within `'b`, and rejects our program because the `&'b data` must still be live!
+within `'b`, and rejects our program because the `&'b data` must still be alive!
217
218
Here we see that the lifetime system is much more coarse than the reference
219
semantics we're actually interested in preserving. For the most part, *that's
0 commit comments