Skip to content
Permalink
Browse files

Doc nit

Co-Authored-By: Ralf Jung <post@ralfj.de>
  • Loading branch information...
SimonSapin and RalfJung committed Aug 17, 2019
1 parent b79ce1b commit 9bd70834b0084f17d622b204a22dc80835d8d962
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit 9bd7083

Please sign in to comment.
You can’t perform that action at this time.