diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-04-05 21:22:02 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-04-05 21:22:02 +0200 |
| commit | b5c479fdad023ee4f28181965b04f55e5e41f62f (patch) | |
| tree | a165bcd5493b9da0e09a32a1d99bdda69ba64921 | |
| parent | 59ec634246251d9ad0487a71c7d1ee2f70b33c57 (diff) | |
Remove impl Unpin for SelectAll, as it's automatically inferred.
| -rw-r--r-- | embassy/src/util/select.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy/src/util/select.rs b/embassy/src/util/select.rs index 29e17968b..b3b03d81c 100644 --- a/embassy/src/util/select.rs +++ b/embassy/src/util/select.rs | |||
| @@ -9,8 +9,6 @@ pub struct SelectAll<Fut, const N: usize> { | |||
| 9 | inner: [Fut; N], | 9 | inner: [Fut; N], |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | impl<Fut: Unpin, const N: usize> Unpin for SelectAll<Fut, N> {} | ||
| 13 | |||
| 14 | /// Creates a new future which will select over a list of futures. | 12 | /// Creates a new future which will select over a list of futures. |
| 15 | /// | 13 | /// |
| 16 | /// The returned future will wait for any future within `iter` to be ready. Upon | 14 | /// The returned future will wait for any future within `iter` to be ready. Upon |
