Fix typo in the ptr documentation

This commit is contained in:
Max Fan 2021-08-05 22:50:56 -04:00
parent e2f79572fb
commit 89a8ba46b8
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ impl<T: ?Sized> *const T {
self as _
}
/// Decompose a (possibly wide) pointer into is address and metadata components.
/// Decompose a (possibly wide) pointer into its address and metadata components.
///
/// The pointer can be later reconstructed with [`from_raw_parts`].
#[unstable(feature = "ptr_metadata", issue = "81513")]

View File

@ -47,7 +47,7 @@ impl<T: ?Sized> *mut T {
self as _
}
/// Decompose a (possibly wide) pointer into is address and metadata components.
/// Decompose a (possibly wide) pointer into its address and metadata components.
///
/// The pointer can be later reconstructed with [`from_raw_parts_mut`].
#[unstable(feature = "ptr_metadata", issue = "81513")]