diff options
| author | Chris Price <[email protected]> | 2024-01-09 15:57:13 +0000 |
|---|---|---|
| committer | Chris Price <[email protected]> | 2024-01-09 15:58:01 +0000 |
| commit | 372a9b28334221f301b698cce09c206aca4df9a4 (patch) | |
| tree | f195d3b10375070152d36cdf3e72be0263ff43da /embassy-time/src/driver_mock.rs | |
| parent | 102e8d8ad6d4a7bc97d8ced018b21e6ef744955f (diff) | |
Lint/format fixes
Diffstat (limited to 'embassy-time/src/driver_mock.rs')
| -rw-r--r-- | embassy-time/src/driver_mock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/src/driver_mock.rs b/embassy-time/src/driver_mock.rs index bbb012f62..7533d51e5 100644 --- a/embassy-time/src/driver_mock.rs +++ b/embassy-time/src/driver_mock.rs | |||
| @@ -56,7 +56,7 @@ impl MockDriver { | |||
| 56 | critical_section::with(|cs| { | 56 | critical_section::with(|cs| { |
| 57 | let mut inner = self.0.borrow_ref_mut(cs); | 57 | let mut inner = self.0.borrow_ref_mut(cs); |
| 58 | 58 | ||
| 59 | inner.now = inner.now + duration; | 59 | inner.now += duration; |
| 60 | 60 | ||
| 61 | let now = inner.now.as_ticks(); | 61 | let now = inner.now.as_ticks(); |
| 62 | 62 | ||
