Remove impl Unpin for SelectAll, as it's automatically inferred.
This commit is contained in:
parent
59ec634246
commit
b5c479fdad
@ -9,8 +9,6 @@ pub struct SelectAll<Fut, const N: usize> {
|
|||||||
inner: [Fut; N],
|
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.
|
/// 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
|
/// The returned future will wait for any future within `iter` to be ready. Upon
|
||||||
|
Loading…
Reference in New Issue
Block a user