We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e008e4f commit a0638d9Copy full SHA for a0638d9
src/librustc_data_structures/sync.rs
@@ -177,8 +177,9 @@ cfg_if! {
177
178
pub type MetadataRef = OwningRef<Box<dyn Erased>, [u8]>;
179
180
- pub use std::rc::Rc as Lrc;
181
- pub use std::rc::Weak as Weak;
+ pub use std::sync::Arc as Lrc;
+ pub use std::sync::Weak as Weak;
182
+
183
pub use std::cell::Ref as ReadGuard;
184
pub use std::cell::Ref as MappedReadGuard;
185
pub use std::cell::RefMut as WriteGuard;
0 commit comments