diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-08-09 18:33:20 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-08-09 18:33:20 +0200 |
| commit | 820852be28bb68910048f016459847c6a03b767c (patch) | |
| tree | eee681ec766b5a5e1c9449f1a31b4512cf6d83d5 | |
| parent | fcb77f3f96479b371e1279c9feed7eddf6b53083 (diff) | |
fmt mod must not be public.
| -rw-r--r-- | embassy-stm32-wpan/src/lib.rs | 2 | ||||
| -rw-r--r-- | 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 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. |
| 6 | pub mod fmt; | 6 | mod fmt; |
| 7 | 7 | ||
| 8 | use core::mem::MaybeUninit; | 8 | use core::mem::MaybeUninit; |
| 9 | use core::sync::atomic::{compiler_fence, Ordering}; | 9 | use 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. |
| 8 | pub mod fmt; | 8 | mod fmt; |
| 9 | include!(concat!(env!("OUT_DIR"), "/_macros.rs")); | 9 | include!(concat!(env!("OUT_DIR"), "/_macros.rs")); |
| 10 | 10 | ||
| 11 | // Utilities | 11 | // Utilities |
