File tree 1 file changed +3
-6
lines changed
futures-util/src/try_stream
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -719,13 +719,10 @@ pub trait TryStreamExt: TryStream {
719
719
Compat :: new ( self )
720
720
}
721
721
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).
727
724
///
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
729
726
/// [`Unpin`]. If you want to use `into_async_read` with a [`!Unpin`](Unpin) stream, you'll
730
727
/// first have to pin the stream. This can be done by boxing the stream using [`Box::pin`]
731
728
/// or pinning it to the stack using the `pin_mut!` macro from the `pin_utils` crate.
You can’t perform that action at this time.
0 commit comments