Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
Simon Sapin 2019-08-17 21:40:35 +02:00 committed by GitHub
parent b79ce1b1b1
commit 9bd70834b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {