diff options
author | 2020-11-10 18:57:38 +0000 | |
---|---|---|
committer | 2020-11-10 18:57:38 +0000 | |
commit | 4a78f3e52154d1bbd663419eca472670b7a08e25 (patch) | |
tree | 11b8bdd13872d9278708f822437b14d1dddd1d11 | |
parent | 169e334fd8f76ddfd79b9ffd323382fb871f22fe (diff) | |
download | cortex-m-4a78f3e52154d1bbd663419eca472670b7a08e25.tar.gz cortex-m-4a78f3e52154d1bbd663419eca472670b7a08e25.tar.zst cortex-m-4a78f3e52154d1bbd663419eca472670b7a08e25.zip |
Remove useless deprecation warning on InterruptNumber ifor Nr
-rw-r--r-- | src/interrupt.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/interrupt.rs b/src/interrupt.rs index 51c67c5..0fd1284 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -25,10 +25,6 @@ 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" -)] unsafe impl<T: Nr + Copy> InterruptNumber for T { #[inline] fn number(self) -> u16 { |