about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Nazarenko <nz.phone@mail.ru>2018-02-27 23:21:04 +0200
committerMaxim Nazarenko <nz.phone@mail.ru>2018-02-27 23:21:04 +0200
commitd9b8724a8072d51c014d2d8c6852e5a398c757d3 (patch)
tree208927c58d6294d2af2b59863643188a04fa99bf
parent273166e7655dc736f444de43505c3ddda5c742f7 (diff)
downloadrust-d9b8724a8072d51c014d2d8c6852e5a398c757d3.tar.gz
rust-d9b8724a8072d51c014d2d8c6852e5a398c757d3.zip
style fix
-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 4a1d68efc99..01e618421cc 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -1172,7 +1172,7 @@ impl<'a, T: ?Sized + fmt::Display> fmt::Display for RefMut<'a, T> {
 /// reference is obtained. This is often done via runtime checks.
 ///
 /// Note that while mutating or mutably aliasing the contents of an `& UnsafeCell<T>` is
-/// okay (provided you enforce the invariants some other way); it is still undefined behavior
+/// okay (provided you enforce the invariants some other way), it is still undefined behavior
 /// to have multiple `&mut UnsafeCell<T>` aliases.
 ///
 ///