File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ pub trait StreamExt: Stream {
156
156
/// Note that because `next` doesn't take ownership over the stream,
157
157
/// the [`Stream`] type must be [`Unpin`]. If you want to use `next` with a
158
158
/// [`!Unpin`](Unpin) stream, you'll first have to pin the stream. This can
159
- /// be done by boxing the stream using [`Box::pinned `] or
159
+ /// be done by boxing the stream using [`Box::pin `] or
160
160
/// pinning it to the stack using the `pin_mut!` macro from the `pin_utils`
161
161
/// crate.
162
162
///
@@ -188,7 +188,7 @@ pub trait StreamExt: Stream {
188
188
/// Note that because `into_future` moves the stream, the [`Stream`] type
189
189
/// must be [`Unpin`]. If you want to use `into_future` with a
190
190
/// [`!Unpin`](Unpin) stream, you'll first have to pin the stream. This can
191
- /// be done by boxing the stream using [`Box::pinned `] or
191
+ /// be done by boxing the stream using [`Box::pin `] or
192
192
/// pinning it to the stack using the `pin_mut!` macro from the `pin_utils`
193
193
/// crate.
194
194
///
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ pub trait TryStreamExt: TryStream {
603
603
///
604
604
/// Note that because `into_async_read` moves the stream, the [`Stream`] type must be
605
605
/// [`Unpin`]. If you want to use `into_async_read` with a [`!Unpin`](Unpin) stream, you'll
606
- /// first have to pin the stream. This can be done by boxing the stream using [`Box::pinned `]
606
+ /// first have to pin the stream. This can be done by boxing the stream using [`Box::pin `]
607
607
/// or pinning it to the stack using the `pin_mut!` macro from the `pin_utils` crate.
608
608
///
609
609
/// # Examples
You can’t perform that action at this time.
0 commit comments