diff options
author | 2020-10-26 21:54:36 +0100 | |
---|---|---|
committer | 2020-10-26 22:00:22 +0100 | |
commit | 9b5a6eafc1f394d819636e60859b3c679b34ff50 (patch) | |
tree | b475f6504c07c55d1eebb3008617e32c317a6e2b /asm/inline.rs | |
parent | 3166eb5a7158ed643d0fb6bc2809013d2e6ba402 (diff) | |
download | cortex-m-9b5a6eafc1f394d819636e60859b3c679b34ff50.tar.gz cortex-m-9b5a6eafc1f394d819636e60859b3c679b34ff50.tar.zst cortex-m-9b5a6eafc1f394d819636e60859b3c679b34ff50.zip |
Format everything
Diffstat (limited to 'asm/inline.rs')
-rw-r--r-- | asm/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/inline.rs b/asm/inline.rs index 688604e..f6a3ebb 100644 --- a/asm/inline.rs +++ b/asm/inline.rs @@ -6,7 +6,7 @@ //! All of these functions should be blanket-`unsafe`. `cortex-m` provides safe wrappers where //! applicable. -use core::sync::atomic::{Ordering, compiler_fence}; +use core::sync::atomic::{compiler_fence, Ordering}; #[inline(always)] pub unsafe fn __bkpt() { @@ -187,7 +187,7 @@ pub unsafe fn __syscall(mut nr: u32, arg: u32) -> u32 { pub use self::v7m::*; #[cfg(any(armv7m, armv8m_main))] mod v7m { - use core::sync::atomic::{Ordering, compiler_fence}; + use core::sync::atomic::{compiler_fence, Ordering}; #[inline(always)] pub unsafe fn __basepri_max(val: u8) { |