diff options
Diffstat (limited to 'src/libcore/ptr/non_null.rs')
| -rw-r--r-- | src/libcore/ptr/non_null.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr/non_null.rs b/src/libcore/ptr/non_null.rs index ad3d1ce396a..7dcd57f1f98 100644 --- a/src/libcore/ptr/non_null.rs +++ b/src/libcore/ptr/non_null.rs @@ -125,7 +125,7 @@ impl<T: ?Sized> NonNull<T> { &mut *self.as_ptr() } - /// Cast to a pointer of another type + /// Casts to a pointer of another type. #[stable(feature = "nonnull_cast", since = "1.27.0")] #[inline] pub const fn cast<U>(self) -> NonNull<U> { |
