aboutsummaryrefslogtreecommitdiff
path: root/examples/t-late-not-send.rs
diff options
context:
space:
mode:
authorPer Lindgren <per.lindgren@ltu.se>2023-01-07 17:59:39 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:24 +0100
commit9a4f97ca5ebf19e6612115db5c763d0d61dd28a1 (patch)
tree1f37d247f715ad3d5215aa7de3aa6d4eb94a7027 /examples/t-late-not-send.rs
parent5606ba3cf38c80be5d3e9c88ad4da9982b114851 (diff)
more examples
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 06aedaa..0fbf237 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(),
)
}