aboutsummaryrefslogtreecommitdiff
path: root/examples/destructure.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-10-22 16:48:56 +0000
committerGravatar GitHub <noreply@github.com> 2020-10-22 16:48:56 +0000
commit9fb5a223cb8adb01381650b66eab28ea5abc98ed (patch)
tree357983fd15ba52ea221f20b5cb14b96783d07d51 /examples/destructure.rs
parent6de4f1a797c81aec6c24f47872e5d3968344684c (diff)
parent17e976ab495234f9f53f56e6693850af077cf701 (diff)
downloadrtic-9fb5a223cb8adb01381650b66eab28ea5abc98ed.tar.gz
rtic-9fb5a223cb8adb01381650b66eab28ea5abc98ed.tar.zst
rtic-9fb5a223cb8adb01381650b66eab28ea5abc98ed.zip
Merge #396
396: Fix namespaces r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'examples/destructure.rs')
-rw-r--r--examples/destructure.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/destructure.rs b/examples/destructure.rs
index e7c53237..3c5eabf7 100644
--- a/examples/destructure.rs
+++ b/examples/destructure.rs
@@ -5,12 +5,13 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::hprintln;
-use lm3s6965::Interrupt;
use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
mod app {
+ use cortex_m_semihosting::hprintln;
+ use lm3s6965::Interrupt;
+
#[resources]
struct Resources {
// Some resources to work with