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/qspi.rs | |
| parent | 985c11fad5d666485b809b846d294a1a2492b370 (diff) | |
Remove unneeded rustfmt::skip
Diffstat (limited to 'embassy-nrf/src/qspi.rs')
| -rw-r--r-- | embassy-nrf/src/qspi.rs | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/embassy-nrf/src/qspi.rs b/embassy-nrf/src/qspi.rs index e87094250..56a757c02 100644 --- a/embassy-nrf/src/qspi.rs +++ b/embassy-nrf/src/qspi.rs | |||
| @@ -286,12 +286,18 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> { | |||
| 286 | } | 286 | } |
| 287 | 287 | ||
| 288 | impl<'d, T: Instance> Flash for Qspi<'d, T> { | 288 | impl<'d, T: Instance> Flash for Qspi<'d, T> { |
| 289 | #[rustfmt::skip] | 289 | type ReadFuture<'a> |
| 290 | type ReadFuture<'a> where Self: 'a = impl Future<Output = Result<(), Error>> + 'a; | 290 | where |
| 291 | #[rustfmt::skip] | 291 | Self: 'a, |
| 292 | type WriteFuture<'a> where Self: 'a = impl Future<Output = Result<(), Error>> + 'a; | 292 | = impl Future<Output = Result<(), Error>> + 'a; |
| 293 | #[rustfmt::skip] | 293 | type WriteFuture<'a> |
| 294 | type ErasePageFuture<'a> where Self: 'a = impl Future<Output = Result<(), Error>> + 'a; | 294 | where |
| 295 | Self: 'a, | ||
| 296 | = impl Future<Output = Result<(), Error>> + 'a; | ||
| 297 | type ErasePageFuture<'a> | ||
| 298 | where | ||
| 299 | Self: 'a, | ||
| 300 | = impl Future<Output = Result<(), Error>> + 'a; | ||
| 295 | 301 | ||
| 296 | fn read<'a>(&'a mut self, address: usize, data: &'a mut [u8]) -> Self::ReadFuture<'a> { | 302 | fn read<'a>(&'a mut self, address: usize, data: &'a mut [u8]) -> Self::ReadFuture<'a> { |
| 297 | async move { | 303 | async move { |
