1 parent 469aea0 commit 784ceccCopy full SHA for 784cecc
1 file changed
cortex-m/src/peripheral/nvic.rs
@@ -86,7 +86,8 @@ pub struct RegisterBlock {
86
/// `ISER` to `ICER` is one bitmap plus one reserved bitmap of the same size, so resizing either
87
/// without the other fails this.
88
const _: () = assert!(
89
- core::mem::offset_of!(RegisterBlock, icer) == NVIC::BITMAP_WORDS * core::mem::size_of::<u32>() * 2
+ core::mem::offset_of!(RegisterBlock, icer)
90
+ == NVIC::BITMAP_WORDS * core::mem::size_of::<u32>() * 2
91
);
92
93
impl NVIC {
0 commit comments