Rollup merge of #96861 - m-ou-se:std-use-prelude-2021, r=joshtriplett
Use Rust 2021 prelude in std itself.
This commit is contained in:
commit
7274447c36
39 changed files with 7 additions and 43 deletions
|
@ -343,7 +343,7 @@
|
|||
// to import the prelude implicitly when building crates that depend on std.
|
||||
#[prelude_import]
|
||||
#[allow(unused)]
|
||||
use prelude::v1::*;
|
||||
use prelude::rust_2021::*;
|
||||
|
||||
// Access to Bencher, etc.
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue