Skip to content

Commit

Permalink
Move to intra doc links in core/src/future
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Sep 17, 2020
1 parent 7bdb5de commit 76ec3f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions library/core/src/future/pending.rs
Expand Up @@ -9,8 +9,6 @@ use crate::task::{Context, Poll};
///
/// This `struct` is created by the [`pending`] function. See its
/// documentation for more.
///
/// [`pending`]: fn.pending.html
#[stable(feature = "future_readiness_fns", since = "1.48.0")]
#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct Pending<T> {
Expand Down
2 changes: 0 additions & 2 deletions library/core/src/future/poll_fn.rs
Expand Up @@ -35,8 +35,6 @@ where
///
/// This `struct` is created by the [`poll_fn`] function. See its
/// documentation for more.
///
/// [`poll_fn`]: fn.poll_fn.html
#[must_use = "futures do nothing unless you `.await` or poll them"]
#[unstable(feature = "future_poll_fn", issue = "72302")]
pub struct PollFn<F> {
Expand Down
2 changes: 0 additions & 2 deletions library/core/src/future/ready.rs
Expand Up @@ -6,8 +6,6 @@ use crate::task::{Context, Poll};
///
/// This `struct` is created by the [`ready`] function. See its
/// documentation for more.
///
/// [`ready`]: fn.ready.html
#[stable(feature = "future_readiness_fns", since = "1.48.0")]
#[derive(Debug, Clone)]
#[must_use = "futures do nothing unless you `.await` or poll them"]
Expand Down

0 comments on commit 76ec3f8

Please sign in to comment.