about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2018-05-19 20:40:11 -0700
committerDaniel Mueller <deso@posteo.net>2018-07-05 21:18:12 -0700
commitfa7f7ac4022735fda83f1327dbc21abaaa01b79f (patch)
treeeb1861314ba013a476dfee993dac667c55e5a796 /src
parent21ea121de180d293d0d6d065846750367cb27d95 (diff)
downloadrust-fa7f7ac4022735fda83f1327dbc21abaaa01b79f.tar.gz
rust-fa7f7ac4022735fda83f1327dbc21abaaa01b79f.zip
Fix typo in cell.rs
Diffstat (limited to 'src')
-rw-r--r--src/libcore/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index 1ff187ed3f1..2eb50b8d5b9 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -1256,7 +1256,7 @@ impl<'a, T: ?Sized + fmt::Display> fmt::Display for RefMut<'a, T> {
 /// To assist with proper design, the following scenarios are explicitly declared legal
 /// for single-threaded code:
 ///
-/// 1. A `&T` reference can be released to safe code and there it can co-exit with other `&T`
+/// 1. A `&T` reference can be released to safe code and there it can co-exist with other `&T`
 /// references, but not with a `&mut T`
 ///
 /// 2. A `&mut T` reference may be released to safe code, provided neither other `&mut T` nor `&T`