Skip to content

Commit 1b2dddf

Browse files
committed
Remove links to html files
1 parent 2d174cf commit 1b2dddf

File tree

1 file changed

+3
-6
lines changed
  • futures-util/src/try_stream

1 file changed

+3
-6
lines changed

futures-util/src/try_stream/mod.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -719,13 +719,10 @@ pub trait TryStreamExt: TryStream {
719719
Compat::new(self)
720720
}
721721

722-
// TODO: I tried to make these doc links work, but failed to have the link work with
723-
// anything other than `trait.AsyncRead.html`. We should probably try again to use
724-
// paths once rustdoc has less issues.
725-
//
726-
/// Adapter that converts this stream into an [`AsyncRead`](trait.AsyncRead.html).
722+
723+
/// Adapter that converts this stream into an [`AsyncRead`](crate::io::AsyncRead).
727724
///
728-
/// Note that because `into_async_read` moves the stream, the [`Stream`](trait.Stream.html) type must be
725+
/// Note that because `into_async_read` moves the stream, the [`Stream`](futures_core::stream::Stream) type must be
729726
/// [`Unpin`]. If you want to use `into_async_read` with a [`!Unpin`](Unpin) stream, you'll
730727
/// first have to pin the stream. This can be done by boxing the stream using [`Box::pin`]
731728
/// or pinning it to the stack using the `pin_mut!` macro from the `pin_utils` crate.

0 commit comments

Comments
 (0)