diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2022-02-28 18:13:24 -0500 |
|---|---|---|
| committer | Jacob Pratt <jacob@jhpratt.dev> | 2022-04-02 02:45:49 -0400 |
| commit | 6b75406f5a7b006f7c724c08c6a00d7696a3620d (patch) | |
| tree | 6a2fa8f1017cfff98f574b930273507924247313 /library/std/src/prelude | |
| parent | 79f178b76ea9d5c6182f67413f62dd86b0e38508 (diff) | |
| download | rust-6b75406f5a7b006f7c724c08c6a00d7696a3620d.tar.gz rust-6b75406f5a7b006f7c724c08c6a00d7696a3620d.zip | |
Create 2024 edition
Diffstat (limited to 'library/std/src/prelude')
| -rw-r--r-- | library/std/src/prelude/mod.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/library/std/src/prelude/mod.rs b/library/std/src/prelude/mod.rs index d4bf6aeefee..c314bbbb68e 100644 --- a/library/std/src/prelude/mod.rs +++ b/library/std/src/prelude/mod.rs @@ -132,3 +132,17 @@ pub mod rust_2021 { #[doc(no_inline)] pub use core::prelude::rust_2021::*; } + +/// The 2024 version of the prelude of The Rust Standard Library. +/// +/// See the [module-level documentation](self) for more. +#[unstable(feature = "prelude_2024", issue = "none")] +pub mod rust_2024 { + #[unstable(feature = "prelude_2024", issue = "none")] + #[doc(no_inline)] + pub use super::v1::*; + + #[unstable(feature = "prelude_2024", issue = "none")] + #[doc(no_inline)] + pub use core::prelude::rust_2024::*; +} |
