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;
25
25
use std:: { fmt, fs} ;
26
26
27
27
use indexmap:: IndexMap ;
28
- use itertools:: Itertools ;
29
28
use regex:: Regex ;
30
29
use rustc_data_structures:: flock;
31
30
use rustc_data_structures:: fx:: { FxHashSet , FxIndexMap , FxIndexSet } ;
@@ -44,6 +43,7 @@ use crate::docfs::PathError;
44
43
use crate :: error:: Error ;
45
44
use crate :: formats:: Impl ;
46
45
use crate :: formats:: item_type:: ItemType ;
46
+ use crate :: html:: format:: join_with_double_colon;
47
47
use crate :: html:: layout;
48
48
use crate :: html:: render:: ordered_json:: { EscapedJson , OrderedJson } ;
49
49
use crate :: html:: render:: search_index:: { SerializedSearchIndex , build_index} ;
@@ -612,7 +612,7 @@ impl TypeAliasPart {
612
612
for & ( type_alias_fqp, type_alias_item) in type_aliases {
613
613
cx. id_map . borrow_mut ( ) . clear ( ) ;
614
614
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) ;
616
616
if let Some ( ret) = & mut ret {
617
617
ret. aliases . push ( type_alias_fqp) ;
618
618
} else {
You can’t perform that action at this time.
0 commit comments