From 18880406cb425bcd030f0b0aa9e67e8ac05bd852 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 21 Jul 2021 10:14:00 +0200 Subject: use tuple struct syntax for Monotonics everywhere --- examples/spawn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/spawn.rs') 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()] -- cgit v1.2.3