aboutsummaryrefslogtreecommitdiff
path: root/examples/generics.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-08-24 14:36:59 +0000
committerGravatar bors[bot] <bors[bot]@users.noreply.github.com> 2018-08-24 14:36:59 +0000
commit62a232f5c64890e2d666d23227df1c21675fc863 (patch)
tree78dc3e80181da30d331e0ac3634dfa99c4784498 /examples/generics.rs
parent53dbbad891e1c223ba5b1939e114b37667011f11 (diff)
parent90c9f64c5a010944bc1bc4efb308f18e0af9100a (diff)
downloadrtic-62a232f5c64890e2d666d23227df1c21675fc863.tar.gz
rtic-62a232f5c64890e2d666d23227df1c21675fc863.tar.zst
rtic-62a232f5c64890e2d666d23227df1c21675fc863.zip
Merge #85
85: fix master r=japaric a=japaric closes #80 Co-authored-by: Ferdia McKeogh <chocol4te@users.noreply.github.com> Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'examples/generics.rs')
-rw-r--r--examples/generics.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/generics.rs b/examples/generics.rs
index ca7726d0..aceba1a9 100644
--- a/examples/generics.rs
+++ b/examples/generics.rs
@@ -1,14 +1,13 @@
//! Working with resources in a generic fashion
#![deny(unsafe_code)]
#![deny(warnings)]
-#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;
extern crate stm32f103xx;
use rtfm::{app, Resource, Threshold};
-use stm32f103xx::{SPI1, GPIOA};
+use stm32f103xx::{GPIOA, SPI1};
app! {
device: stm32f103xx,