about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-06-16 19:41:40 +0400
committerMaybe Waffle <waffle.lapkin@gmail.com>2022-06-16 19:53:59 +0400
commit7c360dc117d554a11f7193505da0835c4b890c6f (patch)
tree214c085729d9636756ebc16e0f6b17e1b5802629 /compiler/rustc_data_structures
parent392d2728683f140f6125732240e462c43c5caff4 (diff)
downloadrust-7c360dc117d554a11f7193505da0835c4b890c6f.tar.gz
rust-7c360dc117d554a11f7193505da0835c4b890c6f.zip
Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}`
Diffstat (limited to 'compiler/rustc_data_structures')
-rw-r--r--compiler/rustc_data_structures/src/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/sync.rs b/compiler/rustc_data_structures/src/sync.rs
index f99ca53ab25..ec3d3d49bcb 100644
--- a/compiler/rustc_data_structures/src/sync.rs
+++ b/compiler/rustc_data_structures/src/sync.rs
@@ -173,7 +173,7 @@ cfg_if! {
         pub use std::cell::RefMut as LockGuard;
         pub use std::cell::RefMut as MappedLockGuard;
 
-        pub use std::lazy::OnceCell;
+        pub use std::cell::OnceCell;
 
         use std::cell::RefCell as InnerRwLock;
         use std::cell::RefCell as InnerLock;