@@ -6,7 +6,7 @@ use std::path::{Path, PathBuf};
6
6
use std:: sync:: mpsc:: { Receiver , channel} ;
7
7
8
8
use rinja:: Template ;
9
- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap , FxIndexSet } ;
9
+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexMap } ;
10
10
use rustc_hir:: def_id:: { DefIdMap , LOCAL_CRATE } ;
11
11
use rustc_middle:: ty:: TyCtxt ;
12
12
use rustc_session:: Session ;
@@ -62,7 +62,7 @@ pub(crate) struct Context<'tcx> {
62
62
/// [#82381]: https://github.com/rust-lang/rust/issues/82381
63
63
pub ( crate ) shared : SharedContext < ' tcx > ,
64
64
/// Collection of all types with notable traits referenced in the current module.
65
- pub ( crate ) types_with_notable_traits : RefCell < FxIndexSet < clean:: Type > > ,
65
+ pub ( crate ) types_with_notable_traits : RefCell < FxHashSet < clean:: Type > > ,
66
66
/// Contains information that needs to be saved and reset after rendering an item which is
67
67
/// not a module.
68
68
pub ( crate ) info : ContextInfo ,
@@ -587,7 +587,7 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
587
587
id_map : RefCell :: new ( id_map) ,
588
588
deref_id_map : Default :: default ( ) ,
589
589
shared : scx,
590
- types_with_notable_traits : RefCell :: new ( FxIndexSet :: default ( ) ) ,
590
+ types_with_notable_traits : RefCell :: default ( ) ,
591
591
info : ContextInfo :: new ( include_sources) ,
592
592
} ;
593
593
0 commit comments