diff options
| -rw-r--r-- | embassy-traits/src/i2c.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-traits/src/i2c.rs b/embassy-traits/src/i2c.rs index 7e2b9a773..0fdf50a12 100644 --- a/embassy-traits/src/i2c.rs +++ b/embassy-traits/src/i2c.rs | |||
| @@ -176,9 +176,9 @@ pub trait WriteIter<A: AddressMode = SevenBitAddress> { | |||
| 176 | /// Error type | 176 | /// Error type |
| 177 | type Error; | 177 | type Error; |
| 178 | 178 | ||
| 179 | type WriteIterFuture<'a, U>: Future<Output = Result<(), Self::Error>> + 'a | 179 | type WriteIterFuture<'a, V>: Future<Output = Result<(), Self::Error>> + 'a |
| 180 | where | 180 | where |
| 181 | U: 'a, | 181 | V: 'a + IntoIterator<Item = u8>, |
| 182 | Self: 'a; | 182 | Self: 'a; |
| 183 | 183 | ||
| 184 | /// Sends bytes to slave with address `address` | 184 | /// Sends bytes to slave with address `address` |
