fmt mod must not be public.

This commit is contained in:
Dario Nieuwenhuis 2023-08-09 18:33:20 +02:00
parent fcb77f3f96
commit 820852be28
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))] #![cfg_attr(feature = "mac", feature(type_alias_impl_trait, concat_bytes))]
// This must go FIRST so that all the other modules see its macros. // This must go FIRST so that all the other modules see its macros.
pub mod fmt; mod fmt;
use core::mem::MaybeUninit; use core::mem::MaybeUninit;
use core::sync::atomic::{compiler_fence, Ordering}; 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>"#)] #![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. // 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")); include!(concat!(env!("OUT_DIR"), "/_macros.rs"));
// Utilities // Utilities