From 0a6583ddc6909215e5db10e8df9da48cc7bffe1a Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 20 Apr 2017 10:56:33 -0500 Subject: [PATCH] fix warning on thumbv6m-none-eabi --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 06efd5114e..8e276e6988 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,9 +18,9 @@ use cortex_m::interrupt::Nr; #[cfg(not(thumbv6m))] use cortex_m::register::{basepri, basepri_max}; use static_ref::Ref; -use typenum::{Cmp, Unsigned}; +use typenum::Unsigned; #[cfg(not(thumbv6m))] -use typenum::{Greater, Less}; +use typenum::{Cmp, Greater, Less}; pub use cortex_m::ctxt::Local; pub use cortex_m::asm::{bkpt, wfi};