Remove impl Unpin for SelectAll, as it's automatically inferred.

This commit is contained in:
Dario Nieuwenhuis 2022-04-05 21:22:02 +02:00
parent 59ec634246
commit b5c479fdad

View file

@ -9,8 +9,6 @@ pub struct SelectAll<Fut, const N: usize> {
inner: [Fut; N],
}
impl<Fut: Unpin, const N: usize> Unpin for SelectAll<Fut, N> {}
/// Creates a new future which will select over a list of futures.
///
/// The returned future will wait for any future within `iter` to be ready. Upon