Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRustdoc not showing return type but showing return type lifetimes #52376
Comments
This comment has been minimized.
This comment has been minimized.
FanShupei
commented
Jul 14, 2018
It seems the nightly rustdoc cannot handle I tried with a minimal examle. Create a new lib project, and write following in lib.rs, then cargo doc. pub fn f(x: impl Copy) -> impl Copy {
1
} The output is weird. The return type vanishes.
rustdoc vesion: rustdoc 1.29.0-nightly (254f879 2018-07-13) |
csmoe
added
the
T-rustdoc
label
Jul 15, 2018
QuietMisdreavus
added
A-impl-trait
C-bug
labels
Aug 9, 2018
ehuss
referenced this issue
Aug 20, 2018
Closed
The nightly documentation does not display "impl" #53494
GuillaumeGomez
self-assigned this
Aug 20, 2018
This comment has been minimized.
This comment has been minimized.
Fixed in #53541. |
GuillaumeGomez
closed this
Sep 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bjorn3 commentedJul 14, 2018
https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/interpret/struct.Memory.html#method.allocations