Doc nit
Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
b79ce1b1b1
commit
9bd70834b0
@ -123,7 +123,7 @@ impl<T: ?Sized> Unique<T> {
|
|||||||
&mut *self.as_ptr()
|
&mut *self.as_ptr()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Casts to a pointer of another type
|
/// Casts to a pointer of another type.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub const fn cast<U>(self) -> Unique<U> {
|
pub const fn cast<U>(self) -> Unique<U> {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
Loading…
Reference in New Issue
Block a user