-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inlined documentation loses lifetime parameters on functions #14462
Comments
It'd also be nice if it showed a little "reexported from" blurb. |
Perhaps something like:
or:
|
When inlining documentation across crates, primitive implementors of traits were not shown. This commit tweaks the infrastructure to treat primitive and Path-like impls the same way, displaying all implementors everywhere. cc rust-lang#14462
When inlining documentation across crates, primitive implementors of traits were not shown. This commit tweaks the infrastructure to treat primitive and Path-like impls the same way, displaying all implementors everywhere. cc rust-lang#14462
When inlining documentation across crates, primitive implementors of traits were not shown. This commit tweaks the infrastructure to treat primitive and Path-like impls the same way, displaying all implementors everywhere. cc rust-lang#14462
Updated with what's left |
This can be closed (although we should probably add a test). update: Erm, no, it can't; the parameter list is missing. |
This issue was about inlined documentation, i.e. documentation for functions which are re-exported from another crate. A single-crate test case doesn't suffice to close this issue. |
Here's an example showing why this issue should still be open: collections docs for String::from_utf8_lossy, includes the http://doc.rust-lang.org/collections/string/struct.String.html#method.from_utf8_lossy std docs for String::from_utf_8_lossy, doesn't include the http://doc.rust-lang.org/std/string/struct.String.html#method.from_utf8_lossy |
Understood! Thanks for elaborating. |
Looking at collections on nightly, this appears to have regressed since beta -- even collections doesn't show the |
This looks to be resolved. Thanks :) |
Updated description
Lifetime parameters on functions are missing
Original description
Rustdoc inlining papercuts
There's still some papercuts with inlined documentation:
The text was updated successfully, but these errors were encountered: