diff --git a/futures-util/src/future/ready.rs b/futures-util/src/future/ready.rs index 35f01c9b16..7794fea83e 100644 --- a/futures-util/src/future/ready.rs +++ b/futures-util/src/future/ready.rs @@ -2,7 +2,7 @@ use core::pin::Pin; use futures_core::future::{FusedFuture, Future}; use futures_core::task::{Context, Poll}; -/// Future for the [`ready`](ready()) function. +/// Future for the [`ready`] function. #[derive(Debug, Clone)] #[must_use = "futures do nothing unless you `.await` or poll them"] pub struct Ready(Option);