File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/librustdoc/html/render Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ use std::str::FromStr;
2525use std:: { fmt, fs} ;
2626
2727use indexmap:: IndexMap ;
28- use itertools:: Itertools ;
2928use regex:: Regex ;
3029use rustc_data_structures:: flock;
3130use rustc_data_structures:: fx:: { FxHashSet , FxIndexMap , FxIndexSet } ;
@@ -44,6 +43,7 @@ use crate::docfs::PathError;
4443use crate :: error:: Error ;
4544use crate :: formats:: Impl ;
4645use crate :: formats:: item_type:: ItemType ;
46+ use crate :: html:: format:: join_with_double_colon;
4747use crate :: html:: layout;
4848use crate :: html:: render:: ordered_json:: { EscapedJson , OrderedJson } ;
4949use crate :: html:: render:: search_index:: { SerializedSearchIndex , build_index} ;
@@ -612,7 +612,7 @@ impl TypeAliasPart {
612612 for & ( type_alias_fqp, type_alias_item) in type_aliases {
613613 cx. id_map . borrow_mut ( ) . clear ( ) ;
614614 cx. deref_id_map . borrow_mut ( ) . clear ( ) ;
615- let type_alias_fqp = ( * type_alias_fqp) . iter ( ) . join ( "::" ) ;
615+ let type_alias_fqp = join_with_double_colon ( & type_alias_fqp) ;
616616 if let Some ( ret) = & mut ret {
617617 ret. aliases . push ( type_alias_fqp) ;
618618 } else {
You can’t perform that action at this time.
0 commit comments