diff options
| author | Jorge Aparicio <jorge.aparicio@ferrous-systems.com> | 2021-07-21 10:14:00 +0200 |
|---|---|---|
| committer | Jorge Aparicio <jorge.aparicio@ferrous-systems.com> | 2021-07-21 10:14:00 +0200 |
| commit | 18880406cb425bcd030f0b0aa9e67e8ac05bd852 (patch) | |
| tree | b191c17c8bdc5dbfae426c61694e590436c4eb4e /examples/spawn.rs | |
| parent | 5f7dc0b903a3d26a5bd49864dce42f3d91d3d2a8 (diff) | |
use tuple struct syntax for Monotonics everywhere
Diffstat (limited to 'examples/spawn.rs')
| -rw-r--r-- | examples/spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spawn.rs b/examples/spawn.rs index bcb4fb2..435cdf5 100644 --- a/examples/spawn.rs +++ b/examples/spawn.rs @@ -21,7 +21,7 @@ mod app { fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { foo::spawn(1, 2).unwrap(); - (Shared {}, Local {}, init::Monotonics {}) + (Shared {}, Local {}, init::Monotonics()) } #[task()] |
