aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/qspi.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2021-12-16 11:37:53 +0100
committerUlf Lilleengen <[email protected]>2021-12-16 11:37:53 +0100
commit2bbd1ddb8a0e36e91a2b328024f313b780b1b851 (patch)
tree4e41c56f0032f811faac07bc98f93b522ea2e1f3 /embassy-nrf/src/qspi.rs
parent985c11fad5d666485b809b846d294a1a2492b370 (diff)
Remove unneeded rustfmt::skip
Diffstat (limited to 'embassy-nrf/src/qspi.rs')
-rw-r--r--embassy-nrf/src/qspi.rs18
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
288impl<'d, T: Instance> Flash for Qspi<'d, T> { 288impl<'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 {