about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-23 00:26:12 +0800
committerGitHub <noreply@github.com>2018-05-23 00:26:12 +0800
commite51b35e26fcc57f5bbe591556a2cebc780caf58e (patch)
tree34b18ecd458a96cec0563fd31bf23215a8e946e1
parent42b4c49b450decbc68f5caabb8f12a2da0ccccc0 (diff)
parente2f0cc084f8253e7dab29c661ff1fc208766e44f (diff)
downloadrust-e51b35e26fcc57f5bbe591556a2cebc780caf58e.tar.gz
rust-e51b35e26fcc57f5bbe591556a2cebc780caf58e.zip
Rollup merge of #50913 - d-e-s-o:fix-typo, r=joshtriplett
Fix typo in cell.rs
-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 9a46c6106db..d50ad580ed5 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -1257,7 +1257,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`