aboutsummaryrefslogtreecommitdiff
path: root/ui/extern-interrupt-not-enough.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/extern-interrupt-not-enough.rs')
-rw-r--r--ui/extern-interrupt-not-enough.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/extern-interrupt-not-enough.rs b/ui/extern-interrupt-not-enough.rs
index 1dbe923..94c8ee1 100644
--- a/ui/extern-interrupt-not-enough.rs
+++ b/ui/extern-interrupt-not-enough.rs
@@ -9,10 +9,10 @@ mod app {
struct Local {}
#[init]
- fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
- (Shared {}, Local {}, init::Monotonics())
+ fn init(cx: init::Context) -> (Shared, Local) {
+ (Shared {}, Local {})
}
#[task]
- fn a(_: a::Context) {}
+ async fn a(_: a::Context) {}
}