diff --git a/futures-util/src/future/select_all.rs b/futures-util/src/future/select_all.rs index 0db90a750e..b341e83cd5 100644 --- a/futures-util/src/future/select_all.rs +++ b/futures-util/src/future/select_all.rs @@ -42,6 +42,13 @@ pub fn select_all(iter: I) -> SelectAll assert_future::<(::Output, usize, Vec), _>(ret) } +impl SelectAll { + /// Consumes this combinator, returning the underlying futures. + pub fn into_inner(self) -> Vec { + self.inner + } +} + impl Future for SelectAll { type Output = (Fut::Output, usize, Vec);