Rollup merge of #50913 - d-e-s-o:fix-typo, r=joshtriplett

Fix typo in cell.rs
This commit is contained in:
kennytm 2018-05-23 00:26:12 +08:00 committed by GitHub
commit e51b35e26f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`