aboutsummaryrefslogtreecommitdiff
path: root/examples/two-tasks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/two-tasks.rs')
-rw-r--r--examples/two-tasks.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/two-tasks.rs b/examples/two-tasks.rs
index ea059a02..2200e5ba 100644
--- a/examples/two-tasks.rs
+++ b/examples/two-tasks.rs
@@ -1,7 +1,5 @@
//! Two tasks running at the *same* priority with access to the same resource
-
#![deny(unsafe_code)]
-#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
@@ -31,8 +29,6 @@ app! {
},
}
-// When data resources are declared in the top `resources` field, `init` will
-// have full access to them
fn init(_p: init::Peripherals, _r: init::Resources) {
// ..
}