diff options
Diffstat (limited to 'src/interrupt.rs')
-rw-r--r-- | src/interrupt.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interrupt.rs b/src/interrupt.rs index ad76ff2..b5fcab6 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -25,7 +25,10 @@ pub unsafe trait InterruptNumber: Copy { /// Implement InterruptNumber for the old bare_metal::Nr trait. /// This implementation is for backwards compatibility only and will be removed in cortex-m 0.8. -#[deprecated(since="0.7.0", note="Please update your PAC to one using the latest svd2rust")] +#[deprecated( + since = "0.7.0", + note = "Please update your PAC to one using the latest svd2rust" +)] unsafe impl<T: Nr + Copy> InterruptNumber for T { fn number(self) -> u16 { self.nr() as u16 |