diff options
| author | Ulf Lilleengen <[email protected]> | 2021-12-16 11:37:53 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2021-12-16 11:37:53 +0100 |
| commit | 2bbd1ddb8a0e36e91a2b328024f313b780b1b851 (patch) | |
| tree | 4e41c56f0032f811faac07bc98f93b522ea2e1f3 /embassy-nrf/src/twim.rs | |
| parent | 985c11fad5d666485b809b846d294a1a2492b370 (diff) | |
Remove unneeded rustfmt::skip
Diffstat (limited to 'embassy-nrf/src/twim.rs')
| -rw-r--r-- | embassy-nrf/src/twim.rs | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/embassy-nrf/src/twim.rs b/embassy-nrf/src/twim.rs index 8173f66b0..d42b88d3b 100644 --- a/embassy-nrf/src/twim.rs +++ b/embassy-nrf/src/twim.rs | |||
| @@ -469,12 +469,18 @@ where | |||
| 469 | { | 469 | { |
| 470 | type Error = Error; | 470 | type Error = Error; |
| 471 | 471 | ||
| 472 | #[rustfmt::skip] | 472 | type WriteFuture<'a> |
| 473 | type WriteFuture<'a> where Self: 'a = impl Future<Output = Result<(), Self::Error>> + 'a; | 473 | where |
| 474 | #[rustfmt::skip] | 474 | Self: 'a, |
| 475 | type ReadFuture<'a> where Self: 'a = impl Future<Output = Result<(), Self::Error>> + 'a; | 475 | = impl Future<Output = Result<(), Self::Error>> + 'a; |
| 476 | #[rustfmt::skip] | 476 | type ReadFuture<'a> |
| 477 | type WriteReadFuture<'a> where Self: 'a = impl Future<Output = Result<(), Self::Error>> + 'a; | 477 | where |
| 478 | Self: 'a, | ||
| 479 | = impl Future<Output = Result<(), Self::Error>> + 'a; | ||
| 480 | type WriteReadFuture<'a> | ||
| 481 | where | ||
| 482 | Self: 'a, | ||
| 483 | = impl Future<Output = Result<(), Self::Error>> + 'a; | ||
| 478 | 484 | ||
| 479 | fn read<'a>(&'a mut self, address: u8, buffer: &'a mut [u8]) -> Self::ReadFuture<'a> { | 485 | fn read<'a>(&'a mut self, address: u8, buffer: &'a mut [u8]) -> Self::ReadFuture<'a> { |
| 480 | async move { | 486 | async move { |
