about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Snoyman <michael@snoyman.com>2021-06-16 19:20:15 +0300
committerGitHub <noreply@github.com>2021-06-16 19:20:15 +0300
commit770e8cc01e783be7e4620bc0148ada14a2c7a4df (patch)
tree08357c40aa17e195e67f8fcc2aa5eea151f9d881
parent8daad743c4bb941536860b4df20111cb71b8c777 (diff)
downloadrust-770e8cc01e783be7e4620bc0148ada14a2c7a4df.tar.gz
rust-770e8cc01e783be7e4620bc0148ada14a2c7a4df.zip
Typo correction: s/is/its
-rw-r--r--library/core/src/ptr/non_null.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/non_null.rs b/library/core/src/ptr/non_null.rs
index 1c65518af04..3ab40f1faa1 100644
--- a/library/core/src/ptr/non_null.rs
+++ b/library/core/src/ptr/non_null.rs
@@ -194,7 +194,7 @@ impl<T: ?Sized> NonNull<T> {
         }
     }
 
-    /// 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 [`NonNull::from_raw_parts`].
     #[unstable(feature = "ptr_metadata", issue = "81513")]