File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ pub struct Crate {
131131 pub primitives : Vec < ( DefId , PrimitiveType , Attributes ) > ,
132132 // These are later on moved into `CACHEKEY`, leaving the map empty.
133133 // Only here so that they can be filtered through the rustdoc passes.
134- pub external_traits : Arc < RefCell < FxHashMap < DefId , Trait > > > ,
134+ pub external_traits : Rc < RefCell < FxHashMap < DefId , Trait > > > ,
135135 pub masked_crates : FxHashSet < CrateNum > ,
136136}
137137
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ use errors::emitter::{Emitter, EmitterWriter};
2626use std:: cell:: RefCell ;
2727use std:: mem;
2828use rustc_data_structures:: sync:: { self , Lrc } ;
29- use std:: sync:: Arc ;
3029use std:: rc:: Rc ;
3130
3231use crate :: config:: { Options as RustdocOptions , RenderOptions } ;
@@ -49,7 +48,7 @@ pub struct DocContext<'tcx> {
4948 /// Later on moved into `html::render::CACHE_KEY`
5049 pub renderinfo : RefCell < RenderInfo > ,
5150 /// Later on moved through `clean::Crate` into `html::render::CACHE_KEY`
52- pub external_traits : Arc < RefCell < FxHashMap < DefId , clean:: Trait > > > ,
51+ pub external_traits : Rc < RefCell < FxHashMap < DefId , clean:: Trait > > > ,
5352 /// Used while populating `external_traits` to ensure we don't process the same trait twice at
5453 /// the same time.
5554 pub active_extern_traits : RefCell < Vec < DefId > > ,
You can’t perform that action at this time.
0 commit comments