Fixing directive position

This commit is contained in:
Ryan Summers 2020-11-10 15:16:37 +01:00
parent 7b86a2bc42
commit 84e31ef036
1 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,9 @@
#![deny(warnings)]
#![allow(clippy::missing_safety_doc)]
// Deprecation warnings are temporarily allowed as the HAL DMA goes through updates.
#![allow(deprecated)]
#![no_std]
#![no_main]
#![cfg_attr(feature = "nightly", feature(asm))]
@ -18,9 +22,6 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
}
}
// Deprecation warnings are temporarily allowed as the HAL DMA goes through updates.
#![allow(deprecated)]
#[cfg(feature = "semihosting")]
extern crate panic_semihosting;