From 59ec634246251d9ad0487a71c7d1ee2f70b33c57 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Tue, 5 Apr 2022 21:20:44 +0200 Subject: [PATCH] Remove SelectAll::into_inner. Due to not requiring Unpin, it's not really possible to call it after having polled it, you can only call it right after constructing it, so in practice it's not very useful. --- embassy/src/util/select.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/embassy/src/util/select.rs b/embassy/src/util/select.rs index aef22d894..29e17968b 100644 --- a/embassy/src/util/select.rs +++ b/embassy/src/util/select.rs @@ -25,13 +25,6 @@ pub fn select_all(arr: [Fut; N]) -> SelectAll SelectAll { - /// Consumes this combinator, returning the underlying futures. - pub fn into_inner(self) -> [Fut; N] { - self.inner - } -} - impl Future for SelectAll { type Output = (Fut::Output, usize);