From ac1917807834e3dd7a697aee85ab89a0164042e2 Mon Sep 17 00:00:00 2001 From: Jake Worth Date: Sat, 7 Nov 2015 12:27:58 -0600 Subject: [PATCH] Fix typo --- src/doc/nomicon/lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/nomicon/lifetimes.md b/src/doc/nomicon/lifetimes.md index e48d5f852f0..e21207efdcf 100644 --- a/src/doc/nomicon/lifetimes.md +++ b/src/doc/nomicon/lifetimes.md @@ -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