aboutsummaryrefslogtreecommitdiff
path: root/src/examples/_2_two_tasks.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-29 00:34:00 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-29 00:46:38 -0500
commit2d80f3631bc3bf382ae24c25dbf8ff33af2ad430 (patch)
tree549db01071e63ac232ab5781771fbb3993a9d822 /src/examples/_2_two_tasks.rs
parente85d6e53c89cd1ea1da8826778c5a74154fb651d (diff)
downloadrtic-2d80f3631bc3bf382ae24c25dbf8ff33af2ad430.tar.gz
rtic-2d80f3631bc3bf382ae24c25dbf8ff33af2ad430.tar.zst
rtic-2d80f3631bc3bf382ae24c25dbf8ff33af2ad430.zip
update examplesrelease/v0.1
Diffstat (limited to 'src/examples/_2_two_tasks.rs')
-rw-r--r--src/examples/_2_two_tasks.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/examples/_2_two_tasks.rs b/src/examples/_2_two_tasks.rs
index 451293cf..5db991b0 100644
--- a/src/examples/_2_two_tasks.rs
+++ b/src/examples/_2_two_tasks.rs
@@ -1,9 +1,7 @@
//! Two tasks running at the *same* priority with access to the same resource
//!
//! ```
-//!
//! #![deny(unsafe_code)]
-//! #![feature(const_fn)]
//! #![feature(proc_macro)]
//! #![no_std]
//!
@@ -33,8 +31,6 @@
//! },
//! }
//!
-//! // 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) {
//! // ..
//! }