aboutsummaryrefslogtreecommitdiff
path: root/examples/spawn2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/spawn2.rs')
-rw-r--r--examples/spawn2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spawn2.rs b/examples/spawn2.rs
index ff9516a6..ed285b70 100644
--- a/examples/spawn2.rs
+++ b/examples/spawn2.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]