about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-12 13:35:31 +0200
committerGitHub <noreply@github.com>2024-04-12 13:35:31 +0200
commite256d5f2ee0d820df3e708760c76b45419fedf64 (patch)
tree1b606c61aa113ec4e94496cd5e78c7d3ed2faaff
parentbcf24d6467018f1f718e0dcd44155abaa8acfbac (diff)
parent41ac5d93d6c9d8bb3977e84f0926b9cfd08843b6 (diff)
downloadrust-e256d5f2ee0d820df3e708760c76b45419fedf64.tar.gz
rust-e256d5f2ee0d820df3e708760c76b45419fedf64.zip
Rollup merge of #123842 - ShockYoungCHN:master, r=scottmcm
fix typo in pin.rs

correct "implemts" to "implements".
-rw-r--r--library/core/src/pin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs
index c18dbafff16..efd525aeb3b 100644
--- a/library/core/src/pin.rs
+++ b/library/core/src/pin.rs
@@ -1198,7 +1198,7 @@ impl<Ptr: Deref<Target: Unpin>> Pin<Ptr> {
     /// Unwraps this `Pin<Ptr>`, returning the underlying pointer.
     ///
     /// Doing this operation safely requires that the data pointed at by this pinning pointer
-    /// implemts [`Unpin`] so that we can ignore the pinning invariants when unwrapping it.
+    /// implements [`Unpin`] so that we can ignore the pinning invariants when unwrapping it.
     ///
     /// # Examples
     ///