-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc: Cleanup doc string collapsing #111512
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
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred in src/librustdoc/clean/types.rs cc @camelid |
This comment has been minimized.
This comment has been minimized.
Updated unit tests. |
Thanks for the improvement! @bors r+ rollup |
☀️ Test successful - checks-actions |
Finished benchmarking commit (cade266): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 646.557s -> 647.061s (0.08%) |
doc_value
and (former)collapsed_doc_value
can be implemented in terms of each other, anddoc_value
doesn't need theOption
.This PR doesn't do any semantic changes, only refactoring, although some pre-existing choices between
doc_value
andcollapsed_doc_value
across rustdoc may be questionable.