From 4257512eb2c4fd7012abad583a9d6f7db350be99 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Wed, 5 May 2021 13:15:07 -0400 Subject: [PATCH] Limit to pub(crate). --- embassy-stm32/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index de697eac..6bdd0c26 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -12,7 +12,7 @@ pub mod fmt; use embassy::interrupt::{Interrupt, InterruptExt}; //pub(crate) use stm32_metapac as pac; -pub mod pac { +pub(crate) mod pac { pub use stm32_metapac::*; #[cfg(any(feature = "_syscfg_f4"))]