@@ -10,9 +10,9 @@ use rustc_span::hygiene::MacroKind;
10
10
use rustc_span:: symbol:: { kw, sym, Symbol } ;
11
11
12
12
use super :: {
13
- collect_paths_for_type, document, ensure_trailing_slash, item_ty_to_strs, render_assoc_item ,
14
- render_assoc_items, render_attributes, render_impl, render_stability_since_raw , spotlight_decl ,
15
- write_srclink, AssocItemLink , Context ,
13
+ collect_paths_for_type, document, ensure_trailing_slash, item_ty_to_strs, notable_traits_decl ,
14
+ render_assoc_item , render_assoc_items, render_attributes, render_impl,
15
+ render_stability_since_raw , write_srclink, AssocItemLink , Context ,
16
16
} ;
17
17
use crate :: clean:: { self , GetDefId } ;
18
18
use crate :: formats:: cache:: Cache ;
@@ -381,7 +381,7 @@ fn item_function(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, f: &clean::
381
381
write ! (
382
382
w,
383
383
"{vis}{constness}{asyncness}{unsafety}{abi}fn \
384
- {name}{generics}{decl}{spotlight }{where_clause}</pre>",
384
+ {name}{generics}{decl}{notable_traits }{where_clause}</pre>",
385
385
vis = it. visibility. print_with_space( cx. tcx( ) , it. def_id, cx. cache( ) ) ,
386
386
constness = f. header. constness. print_with_space( ) ,
387
387
asyncness = f. header. asyncness. print_with_space( ) ,
@@ -391,7 +391,7 @@ fn item_function(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, f: &clean::
391
391
generics = f. generics. print( cx. cache( ) , cx. tcx( ) ) ,
392
392
where_clause = print_where_clause( & f. generics, cx. cache( ) , cx. tcx( ) , 0 , true ) ,
393
393
decl = f. decl. full_print( cx. cache( ) , cx. tcx( ) , header_len, 0 , f. header. asyncness) ,
394
- spotlight = spotlight_decl ( & f. decl, cx. cache( ) , cx. tcx( ) ) ,
394
+ notable_traits = notable_traits_decl ( & f. decl, cx. cache( ) , cx. tcx( ) ) ,
395
395
) ;
396
396
document ( w, cx, it, None )
397
397
}
0 commit comments