aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-08-09 18:33:20 +0200
committerDario Nieuwenhuis <[email protected]>2023-08-09 18:33:20 +0200
commit820852be28bb68910048f016459847c6a03b767c (patch)
treeeee681ec766b5a5e1c9449f1a31b4512cf6d83d5
parentfcb77f3f96479b371e1279c9feed7eddf6b53083 (diff)
fmt mod must not be public.
-rw-r--r--embassy-stm32-wpan/src/lib.rs2
-rw-r--r--embassy-stm32/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32-wpan/src/lib.rs b/embassy-stm32-wpan/src/lib.rs
index 5ecce2cc2..2a8ab7253 100644
--- a/embassy-stm32-wpan/src/lib.rs
+++ b/embassy-stm32-wpan/src/lib.rs
@@ -3,7 +3,7 @@
3#![cfg_attr(feature = "mac", feature(type_alias_impl_trait, concat_bytes))] 3#![cfg_attr(feature = "mac", feature(type_alias_impl_trait, concat_bytes))]
4 4
5// This must go FIRST so that all the other modules see its macros. 5// This must go FIRST so that all the other modules see its macros.
6pub mod fmt; 6mod fmt;
7 7
8use core::mem::MaybeUninit; 8use core::mem::MaybeUninit;
9use core::sync::atomic::{compiler_fence, Ordering}; 9use core::sync::atomic::{compiler_fence, Ordering};
diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs
index fb0279dcf..adb3054d8 100644
--- a/embassy-stm32/src/lib.rs
+++ b/embassy-stm32/src/lib.rs
@@ -5,7 +5,7 @@
5#![doc = document_features::document_features!(feature_label = r#"<span class="stab portability"><code>{feature}</code></span>"#)] 5#![doc = document_features::document_features!(feature_label = r#"<span class="stab portability"><code>{feature}</code></span>"#)]
6 6
7// This must go FIRST so that all the other modules see its macros. 7// This must go FIRST so that all the other modules see its macros.
8pub mod fmt; 8mod fmt;
9include!(concat!(env!("OUT_DIR"), "/_macros.rs")); 9include!(concat!(env!("OUT_DIR"), "/_macros.rs"));
10 10
11// Utilities 11// Utilities