Merge pull request #1765 from embassy-rs/fmt-not-pub

fmt mod must not be public.
This commit is contained in:
Dario Nieuwenhuis
2023-08-09 17:06:28 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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};

View File

@ -5,7 +5,7 @@
#![doc = document_features::document_features!(feature_label = r#"<span class="stab portability"><code>{feature}</code></span>"#)]
// 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