about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-08-17 21:40:35 +0200
committerGitHub <noreply@github.com>2019-08-17 21:40:35 +0200
commit9bd70834b0084f17d622b204a22dc80835d8d962 (patch)
tree1b9b34cd803aebfc47b2b48a4b04ba813f1f82a2
parentb79ce1b1b10d6de1dac516d5e129f8251725ebe2 (diff)
downloadrust-9bd70834b0084f17d622b204a22dc80835d8d962.tar.gz
rust-9bd70834b0084f17d622b204a22dc80835d8d962.zip
Doc nit
Co-Authored-By: Ralf Jung <post@ralfj.de>
-rw-r--r--src/libcore/ptr/unique.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr/unique.rs b/src/libcore/ptr/unique.rs
index 24f45394a3b..3521dd79979 100644
--- a/src/libcore/ptr/unique.rs
+++ b/src/libcore/ptr/unique.rs
@@ -123,7 +123,7 @@ impl<T: ?Sized> Unique<T> {
         &mut *self.as_ptr()
     }
 
-    /// Casts to a pointer of another type
+    /// Casts to a pointer of another type.
     #[inline]
     pub const fn cast<U>(self) -> Unique<U> {
         unsafe {