about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2018-05-19 20:40:11 -0700
committerDaniel Mueller <deso@posteo.net>2018-05-19 20:40:11 -0700
commite2f0cc084f8253e7dab29c661ff1fc208766e44f (patch)
treefb84967357c91f6b5dab164371e8ee08bd329b70 /src/libcore
parent3ea24915894d49cb93eab52e65f1e4f0baa1bc32 (diff)
downloadrust-e2f0cc084f8253e7dab29c661ff1fc208766e44f.tar.gz
rust-e2f0cc084f8253e7dab29c661ff1fc208766e44f.zip
Fix typo in cell.rs
Diffstat (limited to 'src/libcore')
-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`