about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-20 07:37:43 +0900
committerGitHub <noreply@github.com>2022-06-20 07:37:43 +0900
commit761f83f683e231e5a75be6b7a064bf9b8b7f0c95 (patch)
treea200f1037f30d3d64881b85ef22bfe308a3dd6bb
parentbfa6cd9c6802efe3d6cef119bed1f78e596062d2 (diff)
parentf0144aea7402cd483157b1d4c4474b7c66f3a559 (diff)
downloadrust-761f83f683e231e5a75be6b7a064bf9b8b7f0c95.tar.gz
rust-761f83f683e231e5a75be6b7a064bf9b8b7f0c95.zip
Rollup merge of #98257 - kadiwa4:into_future_doc_typos, r=Dylan-DPC
Fix typos in `IntoFuture` docs
-rw-r--r--library/core/src/future/into_future.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/future/into_future.rs b/library/core/src/future/into_future.rs
index d22094130ad..ad9e80e117f 100644
--- a/library/core/src/future/into_future.rs
+++ b/library/core/src/future/into_future.rs
@@ -2,7 +2,7 @@ use crate::future::Future;
 
 /// 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 @@ use crate::future::Future;
 /// 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