]> git.lizzy.rs Git - rust.git/commit
rustdoc: Resugar async fn return type in `clean`, not `html`
authorNixon Enraght-Moony <nixon.emoony@gmail.com>
Tue, 30 Aug 2022 14:29:41 +0000 (15:29 +0100)
committerNixon Enraght-Moony <nixon.emoony@gmail.com>
Tue, 30 Aug 2022 17:09:04 +0000 (18:09 +0100)
commit6099d17afe622c2784caa2c215b7970a4424f908
treecedbcb4cb92b4ab27f5ab9bc53e174dae3c6c930
parent0631ea5d73f4a3199c776687b12c20c50a91f0d2
rustdoc: Resugar async fn return type in `clean`, not `html`

This way it also happens for json output.

Fixes #101199
src/librustdoc/clean/mod.rs
src/librustdoc/html/format.rs
src/librustdoc/html/render/mod.rs
src/librustdoc/html/render/print_item.rs
src/test/rustdoc-json/fns/async_return.rs [new file with mode: 0644]