]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in cell.rs
authorDaniel Mueller <deso@posteo.net>
Sun, 20 May 2018 03:40:11 +0000 (20:40 -0700)
committerDaniel Mueller <deso@posteo.net>
Sun, 20 May 2018 03:40:11 +0000 (20:40 -0700)
src/libcore/cell.rs

index 1ff187ed3f109722f397f705ce728e886494c87e..2eb50b8d5b9700ed9ad8261e1cfc5048a5a4752b 100644 (file)
@@ -1256,7 +1256,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
 /// 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`