From 2d80f3631bc3bf382ae24c25dbf8ff33af2ad430 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 29 Jul 2017 00:34:00 -0500 Subject: update examples --- examples/two-tasks.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'examples/two-tasks.rs') diff --git a/examples/two-tasks.rs b/examples/two-tasks.rs index ea059a0..2200e5b 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) { // .. } -- cgit v1.2.3