Skip to content

Commit ac19178

Browse files
committed
Fix typo
1 parent 86069e4 commit ac19178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/nomicon/lifetimes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ println!("{}", x);
193193
}
194194
```
195195

196-
The problem here is is bit more subtle and interesting. We want Rust to
196+
The problem here is a bit more subtle and interesting. We want Rust to
197197
reject this program for the following reason: We have a live shared reference `x`
198198
to a descendant of `data` when we try to take a mutable reference to `data`
199199
to `push`. This would create an aliased mutable reference, which would

0 commit comments

Comments
 (0)