Do not format prelude module

In preparation for running the formatter on all source files at the root
of the crate; skip formatting `prelude` module because we use
unconventional import statements so they to save writing a million
compiler attributes.
This commit is contained in:
Tobin C. Harding 2022-06-06 14:32:19 +10:00
parent 01471f7e65
commit 7b50a96ade
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ mod io_extras {
}
}
#[rustfmt::skip]
mod prelude {
#[cfg(all(not(feature = "std"), not(test)))]
pub use alloc::{string::{String, ToString}, vec::Vec, boxed::Box, borrow::{Cow, ToOwned}, slice, rc, sync};