Skip to content

Commit 75de7a4

Browse files
authored
Fix sentence in try_buffered docs. (#2579)
Updates the docs to use the same phrasing as `.buffered()` https://docs.rs/futures/latest/futures/stream/trait.StreamExt.html#method.buffered
1 parent 47d0144 commit 75de7a4

File tree

1 file changed

+1
-1
lines changed
  • futures-util/src/stream/try_stream

1 file changed

+1
-1
lines changed

futures-util/src/stream/try_stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ pub trait TryStreamExt: TryStream {
802802
/// that matches the stream's `Error` type.
803803
///
804804
/// This adaptor will buffer up to `n` futures and then return their
805-
/// outputs in the order. If the underlying stream returns an error, it will
805+
/// outputs in the same order as the underlying stream. If the underlying stream returns an error, it will
806806
/// be immediately propagated.
807807
///
808808
/// The limit argument is of type `Into<Option<usize>>`, and so can be

0 commit comments

Comments
 (0)