1
Fork 0

Use Rust 2021 prelude in std itself.

This commit is contained in:
Mara Bos 2022-05-09 11:12:32 +02:00
parent 8a2fe75d0e
commit 4f212f08cf
39 changed files with 7 additions and 43 deletions

View file

@ -345,7 +345,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)]