From 4d9d7bf312929ec55987b586f249c547b47140f9 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 8 Oct 2022 15:55:15 +0200 Subject: Remove empty core::lazy and std::lazy PR #98165 with commits 7c360dc117d554a11f7193505da0835c4b890c6f and c1a2db3372a4d6896744919284f3287650a38ab7 has moved all of the components of these modules into different places, namely {std,core}::sync and {std,core}::cell. The empty modules remained. As they are unstable, we can simply remove them. --- library/std/src/lazy.rs | 1 - library/std/src/lib.rs | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 library/std/src/lazy.rs (limited to 'library/std/src') diff --git a/library/std/src/lazy.rs b/library/std/src/lazy.rs deleted file mode 100644 index f8c06c3f9ae..00000000000 --- a/library/std/src/lazy.rs +++ /dev/null @@ -1 +0,0 @@ -//! Lazy values and one-time initialization of static data. diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index a497acda4f6..5484d9c332a 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -529,9 +529,6 @@ pub mod process; pub mod sync; pub mod time; -#[unstable(feature = "once_cell", issue = "74465")] -pub mod lazy; - // Pull in `std_float` crate into libstd. The contents of // `std_float` are in a different repository: rust-lang/portable-simd. #[path = "../../portable-simd/crates/std_float/src/lib.rs"] -- cgit 1.4.1-3-g733a5