async await desugaring and tests
This commit is contained in:
parent
589446e19c
commit
cf844b547d
38 changed files with 1282 additions and 199 deletions
|
@ -2585,7 +2585,8 @@ fn item_function(w: &mut fmt::Formatter, cx: &Context, it: &clean::Item,
|
|||
write!(w, "{}<pre class='rust fn'>", render_spotlight_traits(it)?)?;
|
||||
render_attributes(w, it)?;
|
||||
write!(w,
|
||||
"{vis}{constness}{asyncness}{unsafety}{abi}fn {name}{generics}{decl}{where_clause}</pre>",
|
||||
"{vis}{constness}{asyncness}{unsafety}{abi}fn \
|
||||
{name}{generics}{decl}{where_clause}</pre>",
|
||||
vis = VisSpace(&it.visibility),
|
||||
constness = ConstnessSpace(f.header.constness),
|
||||
asyncness = AsyncSpace(f.header.asyncness),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue