about summary refs log tree commit diff
path: root/library/core/src/prelude/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/prelude/mod.rs')
-rw-r--r--library/core/src/prelude/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/core/src/prelude/mod.rs b/library/core/src/prelude/mod.rs
index ca33ef160e8..496b78439ea 100644
--- a/library/core/src/prelude/mod.rs
+++ b/library/core/src/prelude/mod.rs
@@ -4,6 +4,9 @@
 //! This module is imported by default when `#![no_std]` is used in the same
 //! manner as the standard library's prelude.
 
+// No formatting: this file is nothing but re-exports, and their order is worth preserving.
+#![cfg_attr(rustfmt, rustfmt::skip)]
+
 #![stable(feature = "core_prelude", since = "1.4.0")]
 
 mod common;