Skip to content

Commit 1f123b6

Browse files
authored
Rollup merge of rust-lang#102812 - est31:remove_lazy, r=dtolnay
Remove empty core::lazy and std::lazy PR rust-lang#98165 with commits 7c360dc and c1a2db3 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.
2 parents 4db122a + 4d9d7bf commit 1f123b6

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

library/core/src/lazy.rs

-1
This file was deleted.

library/core/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ pub mod cell;
326326
pub mod char;
327327
pub mod ffi;
328328
pub mod iter;
329-
#[unstable(feature = "once_cell", issue = "74465")]
330-
pub mod lazy;
331329
pub mod option;
332330
pub mod panic;
333331
pub mod panicking;

library/std/src/lazy.rs

-1
This file was deleted.

library/std/src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,6 @@ pub mod process;
529529
pub mod sync;
530530
pub mod time;
531531

532-
#[unstable(feature = "once_cell", issue = "74465")]
533-
pub mod lazy;
534-
535532
// Pull in `std_float` crate into libstd. The contents of
536533
// `std_float` are in a different repository: rust-lang/portable-simd.
537534
#[path = "../../portable-simd/crates/std_float/src/lib.rs"]

0 commit comments

Comments
 (0)