Skip to content

Commit

Permalink
Fix sentence in try_buffered docs. (#2579)
Browse files Browse the repository at this point in the history
Updates the docs to use the same phrasing as `.buffered()` https://docs.rs/futures/latest/futures/stream/trait.StreamExt.html#method.buffered
  • Loading branch information
timleslie authored Mar 15, 2022
1 parent 47d0144 commit 75de7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-util/src/stream/try_stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ pub trait TryStreamExt: TryStream {
/// that matches the stream's `Error` type.
///
/// This adaptor will buffer up to `n` futures and then return their
/// outputs in the order. If the underlying stream returns an error, it will
/// outputs in the same order as the underlying stream. If the underlying stream returns an error, it will
/// be immediately propagated.
///
/// The limit argument is of type `Into<Option<usize>>`, and so can be
Expand Down

0 comments on commit 75de7a4

Please sign in to comment.