diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-08-17 21:40:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-17 21:40:35 +0200 |
| commit | 9bd70834b0084f17d622b204a22dc80835d8d962 (patch) | |
| tree | 1b9b34cd803aebfc47b2b48a4b04ba813f1f82a2 | |
| parent | b79ce1b1b10d6de1dac516d5e129f8251725ebe2 (diff) | |
| download | rust-9bd70834b0084f17d622b204a22dc80835d8d962.tar.gz rust-9bd70834b0084f17d622b204a22dc80835d8d962.zip | |
Doc nit
Co-Authored-By: Ralf Jung <post@ralfj.de>
| -rw-r--r-- | src/libcore/ptr/unique.rs | 2 |
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 { |
