Skip to content

Commit 03e618b

Browse files
timleslietaiki-e
authored andcommitted
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 a8b98aa commit 03e618b

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
@@ -918,7 +918,7 @@ pub trait TryStreamExt: TryStream {
918918
/// that matches the stream's `Error` type.
919919
///
920920
/// This adaptor will buffer up to `n` futures and then return their
921-
/// outputs in the order. If the underlying stream returns an error, it will
921+
/// outputs in the same order as the underlying stream. If the underlying stream returns an error, it will
922922
/// be immediately propagated.
923923
///
924924
/// The returned stream will be a stream of results, each containing either

0 commit comments

Comments
 (0)