Skip to content

Commit

Permalink
Doc nit
Browse files Browse the repository at this point in the history
Co-Authored-By: Ralf Jung <post@ralfj.de>
  • Loading branch information
SimonSapin and RalfJung committed Aug 17, 2019
1 parent b79ce1b commit 9bd7083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/ptr/unique.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 9bd7083

Please sign in to comment.