Merge pull request #1765 from embassy-rs/fmt-not-pub
fmt mod must not be public.
This commit is contained in:
		@@ -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};
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user