aboutsummaryrefslogtreecommitdiff
path: root/examples/generics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/generics.rs')
-rw-r--r--examples/generics.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/generics.rs b/examples/generics.rs
index 3107dd11..b13baeb7 100644
--- a/examples/generics.rs
+++ b/examples/generics.rs
@@ -5,13 +5,16 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::{debug, hprintln};
-use lm3s6965::Interrupt;
+use cortex_m_semihosting::hprintln;
use panic_semihosting as _;
-use rtic::{Exclusive, Mutex};
+use rtic::Mutex;
#[rtic::app(device = lm3s6965)]
mod app {
+ use cortex_m_semihosting::{debug, hprintln};
+ use lm3s6965::Interrupt;
+ use rtic::Exclusive;
+
#[resources]
struct Resources {
#[init(0)]