From 820852be28bb68910048f016459847c6a03b767c Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 9 Aug 2023 18:33:20 +0200 Subject: [PATCH] fmt mod must not be public. --- embassy-stm32-wpan/src/lib.rs | 2 +- embassy-stm32/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32-wpan/src/lib.rs b/embassy-stm32-wpan/src/lib.rs index 5ecce2cc..2a8ab725 100644 --- a/embassy-stm32-wpan/src/lib.rs +++ b/embassy-stm32-wpan/src/lib.rs @@ -3,7 +3,7 @@ #![cfg_attr(feature = "mac", feature(type_alias_impl_trait, concat_bytes))] // This must go FIRST so that all the other modules see its macros. -pub mod fmt; +mod fmt; use core::mem::MaybeUninit; use core::sync::atomic::{compiler_fence, Ordering}; diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index fb0279dc..adb3054d 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs @@ -5,7 +5,7 @@ #![doc = document_features::document_features!(feature_label = r#"{feature}"#)] // This must go FIRST so that all the other modules see its macros. -pub mod fmt; +mod fmt; include!(concat!(env!("OUT_DIR"), "/_macros.rs")); // Utilities