rustdoc: Resugar async fn return type in clean
, not html
This way it also happens for json output. Fixes #101199
This commit is contained in:
parent
0631ea5d73
commit
6099d17afe
5 changed files with 46 additions and 16 deletions
|
@ -821,7 +821,7 @@ fn assoc_method(
|
|||
href = href,
|
||||
name = name,
|
||||
generics = g.print(cx),
|
||||
decl = d.full_print(header_len, indent, header.asyncness, cx),
|
||||
decl = d.full_print(header_len, indent, cx),
|
||||
notable_traits = notable_traits_decl(d, cx),
|
||||
where_clause = print_where_clause(g, cx, indent, end_newline),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue