about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync.rs
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-09-08 09:27:25 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-09-08 10:15:12 +0200
commit9690142bef648b88a4f8d87000f5edeacb0cc0a5 (patch)
treee9bf97db539ec0ee312065f4aac7f2053158017f /compiler/rustc_data_structures/src/sync.rs
parent61cc00d23871b9d2e4c4f23af6917dc5ca7efb58 (diff)
downloadrust-9690142bef648b88a4f8d87000f5edeacb0cc0a5.tar.gz
rust-9690142bef648b88a4f8d87000f5edeacb0cc0a5.zip
Remove the `LockMode` enum and `dispatch`
Diffstat (limited to 'compiler/rustc_data_structures/src/sync.rs')
-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 a30ffcc120b..63f137516bd 100644
--- a/compiler/rustc_data_structures/src/sync.rs
+++ b/compiler/rustc_data_structures/src/sync.rs
@@ -49,7 +49,7 @@ use std::ops::{Deref, DerefMut};
 use std::panic::{catch_unwind, resume_unwind, AssertUnwindSafe};
 
 mod lock;
-pub use lock::{Assume, Lock, LockGuard};
+pub use lock::{Lock, LockGuard, Mode};
 
 mod worker_local;
 pub use worker_local::{Registry, WorkerLocal};