From 65a6eff1dfde584db56c6c99a3c551b8f3740a5e Mon Sep 17 00:00:00 2001 From: Collin Styles Date: Sat, 28 Oct 2023 09:31:12 -0700 Subject: [PATCH] Import `TryAll` and `TryAny` in the `stream` module This makes them show up on the documentation page for the `stream` module. It also makes the return types on the `TryStreamExt` documentation page link to the adapter types. --- futures-util/src/stream/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/futures-util/src/stream/mod.rs b/futures-util/src/stream/mod.rs index 08f064927..278798557 100644 --- a/futures-util/src/stream/mod.rs +++ b/futures-util/src/stream/mod.rs @@ -52,8 +52,8 @@ pub use self::stream::{ReuniteError, SplitSink, SplitStream}; mod try_stream; pub use self::try_stream::{ - try_unfold, AndThen, ErrInto, InspectErr, InspectOk, IntoStream, MapErr, MapOk, OrElse, - TryCollect, TryConcat, TryFilter, TryFilterMap, TryFlatten, TryNext, TrySkipWhile, + try_unfold, AndThen, ErrInto, InspectErr, InspectOk, IntoStream, MapErr, MapOk, OrElse, TryAll, + TryAny, TryCollect, TryConcat, TryFilter, TryFilterMap, TryFlatten, TryNext, TrySkipWhile, TryStreamExt, TryTakeWhile, TryUnfold, };