Rollup merge of #91646 - ibraheemdev:patch-9, r=dtolnay

Fix documentation for `core::ready::Ready`
This commit is contained in:
Matthias Krüger 2021-12-10 22:40:37 +01:00 committed by GitHub
commit 1fca934898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ use crate::future::Future;
use crate::pin::Pin; use crate::pin::Pin;
use crate::task::{Context, Poll}; use crate::task::{Context, Poll};
/// Creates a future that is immediately ready with a value. /// A future that is immediately ready with a value.
/// ///
/// This `struct` is created by [`ready()`]. See its /// This `struct` is created by [`ready()`]. See its
/// documentation for more. /// documentation for more.