Skip to content

Commit

Permalink
rectify cargo doc reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxiangfei2009 authored and cramertj committed Jan 9, 2020
1 parent 49d90d0 commit 503d412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-util/src/stream/stream/peek.rs
Expand Up @@ -150,7 +150,7 @@ where
delegate_sink!(stream, Item);
}

/// Future for the [`peek()`] function from [`Peekable`]
/// Future for the [`Peekable::peek()`](self::Peekable::peek) function from [`Peekable`]
#[must_use = "futures do nothing unless polled"]
pub struct Peek<'a, St: Stream> {
inner: Option<Pin<&'a mut Peekable<St>>>,
Expand Down

0 comments on commit 503d412

Please sign in to comment.