From fa7f7ac4022735fda83f1327dbc21abaaa01b79f Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 19 May 2018 20:40:11 -0700 Subject: [PATCH] Fix typo in cell.rs --- src/libcore/cell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 1ff187ed3f109..2eb50b8d5b970 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`