]> git.lizzy.rs Git - rust.git/commitdiff
typos in `IntoFuture` docs
authorKaDiWa4 <kalle.wachsmuth@gmail.com>
Sun, 19 Jun 2022 15:07:38 +0000 (17:07 +0200)
committerKaDiWa4 <kalle.wachsmuth@gmail.com>
Sun, 19 Jun 2022 15:13:48 +0000 (17:13 +0200)
library/core/src/future/into_future.rs

index d22094130ad9a1cf0eca2686b847a94bdc65606a..ad9e80e117f1e016c3c1588a7a15757eb9863f48 100644 (file)
@@ -2,7 +2,7 @@
 
 /// Conversion into a `Future`.
 ///
-/// By implementing `Intofuture` for a type, you define how it will be
+/// By implementing `IntoFuture` for a type, you define how it will be
 /// converted to a future.
 ///
 /// # `.await` desugaring
@@ -29,7 +29,7 @@
 /// When implementing futures manually there will often be a choice between
 /// implementing `Future` or `IntoFuture` for a type. Implementing `Future` is a
 /// good choice in most cases. But implementing `IntoFuture` is most useful when
-/// implementing "async builder" types, which allows the type to be modified
+/// implementing "async builder" types, which allow their values to be modified
 /// multiple times before being `.await`ed.
 ///
 /// ```rust