aboutsummaryrefslogtreecommitdiff
path: root/examples/t-late-not-send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-late-not-send.rs')
-rw-r--r--examples/t-late-not-send.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/t-late-not-send.rs b/examples/t-late-not-send.rs
index 06aedaa2..0fbf237b 100644
--- a/examples/t-late-not-send.rs
+++ b/examples/t-late-not-send.rs
@@ -27,14 +27,13 @@ mod app {
struct Local {}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
+ fn init(_: init::Context) -> (Shared, Local) {
(
Shared {
x: NotSend { _0: PhantomData },
y: None,
},
Local {},
- init::Monotonics(),
)
}