about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync.rs
diff options
context:
space:
mode:
authorAskar Safin <safinaskar@mail.ru>2025-02-11 08:14:00 +0300
committerAskar Safin <safinaskar@mail.ru>2025-02-11 08:24:50 +0300
commitc9c7b44510425c2d594ee0b6653e68a2aead3b6d (patch)
treed06fa531c7ce010cb530d7771d1e8bfde5809429 /compiler/rustc_data_structures/src/sync.rs
parent25b6761c9ed7fa814a0182dbd9a04e1c4909b88e (diff)
downloadrust-c9c7b44510425c2d594ee0b6653e68a2aead3b6d.tar.gz
rust-c9c7b44510425c2d594ee0b6653e68a2aead3b6d.zip
compiler/rustc_data_structures/src/sync.rs: delete MappedLockGuard
It seems it is left-over after some refactoring
Diffstat (limited to 'compiler/rustc_data_structures/src/sync.rs')
-rw-r--r--compiler/rustc_data_structures/src/sync.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_data_structures/src/sync.rs b/compiler/rustc_data_structures/src/sync.rs
index ab457a639c7..6ea7360bced 100644
--- a/compiler/rustc_data_structures/src/sync.rs
+++ b/compiler/rustc_data_structures/src/sync.rs
@@ -112,9 +112,8 @@ pub use std::sync::{OnceLock, Weak};
 
 pub use mode::{is_dyn_thread_safe, set_dyn_thread_safe_mode};
 pub use parking_lot::{
-    MappedMutexGuard as MappedLockGuard, MappedRwLockReadGuard as MappedReadGuard,
-    MappedRwLockWriteGuard as MappedWriteGuard, RwLockReadGuard as ReadGuard,
-    RwLockWriteGuard as WriteGuard,
+    MappedRwLockReadGuard as MappedReadGuard, MappedRwLockWriteGuard as MappedWriteGuard,
+    RwLockReadGuard as ReadGuard, RwLockWriteGuard as WriteGuard,
 };
 #[cfg(not(target_has_atomic = "64"))]
 pub use portable_atomic::AtomicU64;