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