about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-05-30 12:07:03 -0700
committerMichael Howell <michael@notriddle.com>2023-05-30 12:22:14 -0700
commit1862fcb1df05b116443ad3b27028616a180ffadb (patch)
tree9237aa7003d583a2c996eafc0671d532c2117edb /compiler/rustc_codegen_llvm/src
parenta9251b6ce14209070b3de9aa9a2d42622b51636e (diff)
downloadrust-1862fcb1df05b116443ad3b27028616a180ffadb.tar.gz
rust-1862fcb1df05b116443ad3b27028616a180ffadb.zip
rustdoc: simplify `clean` by removing `FnRetTy`
The default fn ret ty is always unit. Just use that.

Looking back at the time when `FnRetTy` (then called
`FunctionRetTy`) was first added to rustdoc, it seems to originally
be there because `-> !` was a special form: the never type didn't
exist back then.

https://github.com/rust-lang/rust/commit/eb01b17b06eb35542bb80ff7456043b0ed5572ba#diff-384affc1b4190940f114f3fcebbf969e7e18657a71ef9001da6b223a036687d9L921-L924
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions