diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2024-06-11 15:08:34 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2024-06-11 16:52:04 +0200 |
| commit | cd2ed56502b65a56c3ef4b518e3f977d2380afaa (patch) | |
| tree | 63cf6803c3d80322b1d88d244de1730a441c87ac /library/alloc/src | |
| parent | be9e27e490c9fb9fa4b3c962daa1fbd3acbc58ee (diff) | |
| download | rust-cd2ed56502b65a56c3ef4b518e3f977d2380afaa.tar.gz rust-cd2ed56502b65a56c3ef4b518e3f977d2380afaa.zip | |
remove cfg(bootstrap)
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/boxed.rs | 3 | ||||
| -rw-r--r-- | library/alloc/src/lib.rs | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index 2b5141585de..01a954ed75b 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -145,8 +145,7 @@ //! to `into_iter()` for boxed slices will defer to the slice implementation on editions before //! 2024: //! -#![cfg_attr(bootstrap, doc = "```rust,edition2021,ignore")] -#![cfg_attr(not(bootstrap), doc = "```rust,edition2021")] +//! ```rust,edition2021 //! // Rust 2015, 2018, and 2021: //! //! # #![allow(boxed_slice_into_iter)] // override our `deny(warnings)` diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 4749b8880fb..895d1b8d59f 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -165,7 +165,6 @@ // // Language features: // tidy-alphabetical-start -#![cfg_attr(bootstrap, feature(exclusive_range_pattern))] #![cfg_attr(not(test), feature(coroutine_trait))] #![cfg_attr(test, feature(panic_update_hook))] #![cfg_attr(test, feature(test))] |
