about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-10-08 15:55:15 +0200
committerest31 <MTest31@outlook.com>2022-10-08 15:55:15 +0200
commit4d9d7bf312929ec55987b586f249c547b47140f9 (patch)
tree10a433d4bfdbb2e8759bd6195bd25b2c1e7230bf
parent58fb351cad389b660c82966e28e213e77dfc1c57 (diff)
downloadrust-4d9d7bf312929ec55987b586f249c547b47140f9.tar.gz
rust-4d9d7bf312929ec55987b586f249c547b47140f9.zip
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.
-rw-r--r--library/core/src/lazy.rs1
-rw-r--r--library/core/src/lib.rs2
-rw-r--r--library/std/src/lazy.rs1
-rw-r--r--library/std/src/lib.rs3
4 files changed, 0 insertions, 7 deletions
diff --git a/library/core/src/lazy.rs b/library/core/src/lazy.rs
deleted file mode 100644
index f8c06c3f9ae..00000000000
--- a/library/core/src/lazy.rs
+++ /dev/null
@@ -1 +0,0 @@
-//! Lazy values and one-time initialization of static data.
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index ca02ae90fde..4c0a3049e75 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -326,8 +326,6 @@ pub mod cell;
 pub mod char;
 pub mod ffi;
 pub mod iter;
-#[unstable(feature = "once_cell", issue = "74465")]
-pub mod lazy;
 pub mod option;
 pub mod panic;
 pub mod panicking;
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"]