File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use crate::task::{Context, Poll};
77/// Creates a future which never resolves, representing a computation that never
88/// finishes.
99///
10- /// This `struct` is created by the [`pending`] function . See its
10+ /// This `struct` is created by [`pending()`] . See its
1111/// documentation for more.
1212#[ stable( feature = "future_readiness_fns" , since = "1.48.0" ) ]
1313#[ must_use = "futures do nothing unless you `.await` or poll them" ]
Original file line number Diff line number Diff line change 3333
3434/// A Future that wraps a function returning `Poll`.
3535///
36- /// This `struct` is created by the [`poll_fn`] function . See its
36+ /// This `struct` is created by [`poll_fn()`] . See its
3737/// documentation for more.
3838#[ must_use = "futures do nothing unless you `.await` or poll them" ]
3939#[ unstable( feature = "future_poll_fn" , issue = "72302" ) ]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use crate::task::{Context, Poll};
44
55/// Creates a future that is immediately ready with a value.
66///
7- /// This `struct` is created by the [`ready`] function . See its
7+ /// This `struct` is created by [`ready()`] . See its
88/// documentation for more.
99#[ stable( feature = "future_readiness_fns" , since = "1.48.0" ) ]
1010#[ derive( Debug , Clone ) ]
You can’t perform that action at this time.
0 commit comments