]> git.lizzy.rs Git - rust.git/commitdiff
fix pin doc typo
authorcsmoe <csmoe@msn.com>
Sun, 6 Mar 2022 13:40:30 +0000 (21:40 +0800)
committercsmoe <csmoe@msn.com>
Sun, 6 Mar 2022 13:40:30 +0000 (21:40 +0800)
library/core/src/pin.rs

index 775d2ded9daad2c1933df0769d9d47b9b44cd88f..cef6a68b4d329e5d2f7ef343ce53880bcc33b888 100644 (file)
@@ -954,7 +954,7 @@ impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where P: DispatchFromDyn<U> {}
 /// stuff(pin!(Foo { /* … */ }));
 /// ```
 ///
-/// ### Manually polling a `Future` (wihout `Unpin` bounds)
+/// ### Manually polling a `Future` (without `Unpin` bounds)
 ///
 /// ```rust
 /// #![feature(pin_macro)]