Skip to content

Commit 8e4edd1

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 9f7213f + 4d9d7bf commit 8e4edd1

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
@@ -530,9 +530,6 @@ pub mod process;
530530
pub mod sync;
531531
pub mod time;
532532

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

0 commit comments

Comments
 (0)