]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/mod.rs
Replace Arc with Rc around external_traits
[rust.git] / src / librustdoc / clean / mod.rs
index ee76bf35cab9157b2b707f745e98c3da220e66f3..af4fe62bcbc31ddc0afc2d4c5282286d7fe5189e 100644 (file)
@@ -131,7 +131,7 @@ pub struct Crate {
     pub primitives: Vec<(DefId, PrimitiveType, Attributes)>,
     // These are later on moved into `CACHEKEY`, leaving the map empty.
     // Only here so that they can be filtered through the rustdoc passes.
-    pub external_traits: Arc<RefCell<FxHashMap<DefId, Trait>>>,
+    pub external_traits: Rc<RefCell<FxHashMap<DefId, Trait>>>,
     pub masked_crates: FxHashSet<CrateNum>,
 }