about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-11-13 09:05:57 +0100
committerGitHub <noreply@github.com>2019-11-13 09:05:57 +0100
commitaba385abbd69146387893c84951a06ec283f4d10 (patch)
treeb32be118a6db872b53e4ee846d25b8405deb7bc7 /src/libcore
parent1b8b2ee6f9e9e1fe109f40be4c756619d5c9aa3f (diff)
downloadrust-aba385abbd69146387893c84951a06ec283f4d10.tar.gz
rust-aba385abbd69146387893c84951a06ec283f4d10.zip
Trailing full stop
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/libcore')
-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 0860d9c0cfa..e3292ecc1d1 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -1554,7 +1554,7 @@ impl<T: ?Sized> UnsafeCell<T> {
     /// This can be cast to a pointer of any kind.
     /// Ensure that the access is unique (no active references, mutable or not)
     /// when casting to `&mut T`, and ensure that there are no mutations
-    /// or mutable aliases going on when casting to `&T`
+    /// or mutable aliases going on when casting to `&T`.
     ///
     /// # Examples
     ///