Skip to content

Commit 784cecc

Browse files
committed
Apply rustfmt
1 parent 469aea0 commit 784cecc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎cortex-m/src/peripheral/nvic.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ pub struct RegisterBlock {
8686
/// `ISER` to `ICER` is one bitmap plus one reserved bitmap of the same size, so resizing either
8787
/// without the other fails this.
8888
const _: () = assert!(
89-
core::mem::offset_of!(RegisterBlock, icer) == NVIC::BITMAP_WORDS * core::mem::size_of::<u32>() * 2
89+
core::mem::offset_of!(RegisterBlock, icer)
90+
== NVIC::BITMAP_WORDS * core::mem::size_of::<u32>() * 2
9091
);
9192

9293
impl NVIC {

0 commit comments

Comments
 (0)