From 7b86a2bc4218e4204303cd1f03f9d21bb811f2c0 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Tue, 10 Nov 2020 15:14:49 +0100 Subject: [PATCH] Adding comment about deprecation allowance --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1c29522..f453a49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,4 @@ #![deny(warnings)] -#![allow(deprecated)] #![allow(clippy::missing_safety_doc)] #![no_std] #![no_main] @@ -19,6 +18,9 @@ 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;