about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-15 16:16:40 +1000
committerGitHub <noreply@github.com>2025-08-15 16:16:40 +1000
commitb672a2ad5ce4a9257fa41f2d0690bb80e9b44b62 (patch)
treedfae374c792d90ffda27d4f48f7bb75b8d5628ec /library/std/src/lib.rs
parent14e2886028cb6f5cb250405ed89297d52e978e45 (diff)
parent605621224f985454d7a3e1185314098863377df0 (diff)
downloadrust-b672a2ad5ce4a9257fa41f2d0690bb80e9b44b62.tar.gz
rust-b672a2ad5ce4a9257fa41f2d0690bb80e9b44b62.zip
Rollup merge of #145331 - theemathas:std-prelude-2024, r=tgross35
Make std use the edition 2024 prelude

This seem to have been overlooked in <https://github.com/rust-lang/rust/pull/138162>
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 40ad2d7146a..f111fcb4a47 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -436,7 +436,7 @@ pub mod prelude;
 // to import the prelude implicitly when building crates that depend on std.
 #[prelude_import]
 #[allow(unused)]
-use prelude::rust_2021::*;
+use prelude::rust_2024::*;
 
 // Access to Bencher, etc.
 #[cfg(test)]