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
commit 8d71fbd032
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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