diff options
| author | Daniel Mueller <deso@posteo.net> | 2018-05-19 20:40:11 -0700 |
|---|---|---|
| committer | Daniel Mueller <deso@posteo.net> | 2018-05-19 20:40:11 -0700 |
| commit | e2f0cc084f8253e7dab29c661ff1fc208766e44f (patch) | |
| tree | fb84967357c91f6b5dab164371e8ee08bd329b70 /src/libcore | |
| parent | 3ea24915894d49cb93eab52e65f1e4f0baa1bc32 (diff) | |
| download | rust-e2f0cc084f8253e7dab29c661ff1fc208766e44f.tar.gz rust-e2f0cc084f8253e7dab29c661ff1fc208766e44f.zip | |
Fix typo in cell.rs
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cell.rs | 2 |
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` |
