aboutsummaryrefslogtreecommitdiff
path: root/examples/smallest.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge.aparicio@ferrous-systems.com>2021-07-21 10:14:00 +0200
committerJorge Aparicio <jorge.aparicio@ferrous-systems.com>2021-07-21 10:14:00 +0200
commit18880406cb425bcd030f0b0aa9e67e8ac05bd852 (patch)
treeb191c17c8bdc5dbfae426c61694e590436c4eb4e /examples/smallest.rs
parent5f7dc0b903a3d26a5bd49864dce42f3d91d3d2a8 (diff)
use tuple struct syntax for Monotonics everywhere
Diffstat (limited to 'examples/smallest.rs')
-rw-r--r--examples/smallest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smallest.rs b/examples/smallest.rs
index 6afcfbd..31750e2 100644
--- a/examples/smallest.rs
+++ b/examples/smallest.rs
@@ -16,6 +16,6 @@ mod app {
#[init]
fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
- (Shared {}, Local {}, init::Monotonics {})
+ (Shared {}, Local {}, init::Monotonics())
}
}