From fb7fba03ad86e94aa74a5cf8e55665ef0a983c07 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sat, 15 Oct 2022 12:55:46 +0000 Subject: [PATCH] Add deprecation attribute to common_configs --- rp2040-hal/src/uart/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rp2040-hal/src/uart/mod.rs b/rp2040-hal/src/uart/mod.rs index fb3aa45..f750955 100644 --- a/rp2040-hal/src/uart/mod.rs +++ b/rp2040-hal/src/uart/mod.rs @@ -45,4 +45,5 @@ pub use self::utils::*; pub use self::writer::Writer; /// Common configurations for UART. +#[deprecated(note = "Use UartConfig::new(...) instead.")] pub mod common_configs;