diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-10-18 00:55:43 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-10-18 01:05:29 +0200 |
| commit | a2e7c24e0055d13a61345dfce9fbe7fcf4e0d306 (patch) | |
| tree | 2f08fb1e2ed983259ae9eec59f21dbd1e41c5091 /embassy-traits/src/delay.rs | |
| parent | d81a203ee264c8bb77eaae18944d4cace7b1683c (diff) | |
Clippy fixes
Diffstat (limited to 'embassy-traits/src/delay.rs')
| -rw-r--r-- | embassy-traits/src/delay.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-traits/src/delay.rs b/embassy-traits/src/delay.rs index 31239d319..caa0b100a 100644 --- a/embassy-traits/src/delay.rs +++ b/embassy-traits/src/delay.rs | |||
| @@ -4,8 +4,8 @@ pub trait Delay { | |||
| 4 | type DelayFuture<'a>: Future<Output = ()> + 'a; | 4 | type DelayFuture<'a>: Future<Output = ()> + 'a; |
| 5 | 5 | ||
| 6 | /// Future that completes after now + millis | 6 | /// Future that completes after now + millis |
| 7 | fn delay_ms<'a>(&'a mut self, millis: u64) -> Self::DelayFuture<'a>; | 7 | fn delay_ms(&mut self, millis: u64) -> Self::DelayFuture<'_>; |
| 8 | 8 | ||
| 9 | /// Future that completes after now + micros | 9 | /// Future that completes after now + micros |
| 10 | fn delay_us<'a>(&'a mut self, micros: u64) -> Self::DelayFuture<'a>; | 10 | fn delay_us(&mut self, micros: u64) -> Self::DelayFuture<'_>; |
| 11 | } | 11 | } |
