about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-10-08 18:15:01 -0700
committerGitHub <noreply@github.com>2022-10-08 18:15:01 -0700
commitc58886d428e8ae2d5fb83caabe6f6fef87415bf9 (patch)
tree05f0baba7270b4e1b84e91434dfd11f8b35a5a6e /library/std/src
parent8c4191abcad619f15e2c4f6342916bc021dec200 (diff)
parent4d9d7bf312929ec55987b586f249c547b47140f9 (diff)
downloadrust-c58886d428e8ae2d5fb83caabe6f6fef87415bf9.tar.gz
rust-c58886d428e8ae2d5fb83caabe6f6fef87415bf9.zip
Rollup merge of #102812 - est31:remove_lazy, r=dtolnay
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.
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lazy.rs1
-rw-r--r--library/std/src/lib.rs3
2 files changed, 0 insertions, 4 deletions
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"]