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 {
131
131
pub primitives : Vec < ( DefId , PrimitiveType , Attributes ) > ,
132
132
// These are later on moved into `CACHEKEY`, leaving the map empty.
133
133
// 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 > > > ,
135
135
pub masked_crates : FxHashSet < CrateNum > ,
136
136
}
137
137
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ use errors::emitter::{Emitter, EmitterWriter};
26
26
use std:: cell:: RefCell ;
27
27
use std:: mem;
28
28
use rustc_data_structures:: sync:: { self , Lrc } ;
29
- use std:: sync:: Arc ;
30
29
use std:: rc:: Rc ;
31
30
32
31
use crate :: config:: { Options as RustdocOptions , RenderOptions } ;
@@ -49,7 +48,7 @@ pub struct DocContext<'tcx> {
49
48
/// Later on moved into `html::render::CACHE_KEY`
50
49
pub renderinfo : RefCell < RenderInfo > ,
51
50
/// 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 > > > ,
53
52
/// Used while populating `external_traits` to ensure we don't process the same trait twice at
54
53
/// the same time.
55
54
pub active_extern_traits : RefCell < Vec < DefId > > ,
You can’t perform that action at this time.
0 commit comments