@@ -2577,20 +2577,20 @@ fn item_function(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item,
25772577 let name_len = format ! ( "{}{}{}{}{:#}fn {}{:#}" ,
25782578 VisSpace ( & it. visibility) ,
25792579 ConstnessSpace ( f. header. constness) ,
2580- AsyncSpace ( f. header. asyncness) ,
25812580 UnsafetySpace ( f. header. unsafety) ,
2581+ AsyncSpace ( f. header. asyncness) ,
25822582 AbiSpace ( f. header. abi) ,
25832583 it. name. as_ref( ) . unwrap( ) ,
25842584 f. generics) . len ( ) ;
25852585 write ! ( w, "{}<pre class='rust fn'>" , render_spotlight_traits( it) ?) ?;
25862586 render_attributes ( w, it) ?;
25872587 write ! ( w,
2588- "{vis}{constness}{asyncness}{unsafety }{abi}fn \
2588+ "{vis}{constness}{unsafety}{asyncness }{abi}fn \
25892589 {name}{generics}{decl}{where_clause}</pre>",
25902590 vis = VisSpace ( & it. visibility) ,
25912591 constness = ConstnessSpace ( f. header. constness) ,
2592- asyncness = AsyncSpace ( f. header. asyncness) ,
25932592 unsafety = UnsafetySpace ( f. header. unsafety) ,
2593+ asyncness = AsyncSpace ( f. header. asyncness) ,
25942594 abi = AbiSpace ( f. header. abi) ,
25952595 name = it. name. as_ref( ) . unwrap( ) ,
25962596 generics = f. generics,
@@ -3024,10 +3024,11 @@ fn render_assoc_item(w: &mut fmt::Formatter,
30243024 href ( did) . map ( |p| format ! ( "{}#{}.{}" , p. 0 , ty, name) ) . unwrap_or ( anchor)
30253025 }
30263026 } ;
3027- let mut head_len = format ! ( "{}{}{}{:#}fn {}{:#}" ,
3027+ let mut head_len = format ! ( "{}{}{}{}{ :#}fn {}{:#}" ,
30283028 VisSpace ( & meth. visibility) ,
30293029 ConstnessSpace ( header. constness) ,
30303030 UnsafetySpace ( header. unsafety) ,
3031+ AsyncSpace ( header. asyncness) ,
30313032 AbiSpace ( header. abi) ,
30323033 name,
30333034 * g) . len ( ) ;
@@ -3038,11 +3039,12 @@ fn render_assoc_item(w: &mut fmt::Formatter,
30383039 ( 0 , true )
30393040 } ;
30403041 render_attributes ( w, meth) ?;
3041- write ! ( w, "{}{}{}{}fn <a href='{href}' class='fnname'>{name}</a>\
3042+ write ! ( w, "{}{}{}{}{} fn <a href='{href}' class='fnname'>{name}</a>\
30423043 {generics}{decl}{where_clause}",
30433044 VisSpace ( & meth. visibility) ,
30443045 ConstnessSpace ( header. constness) ,
30453046 UnsafetySpace ( header. unsafety) ,
3047+ AsyncSpace ( header. asyncness) ,
30463048 AbiSpace ( header. abi) ,
30473049 href = href,
30483050 name = name,
0 commit comments