-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc: get rid of unused path printing code #84246
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
rustdoc: get rid of unused path printing code #84246
Conversation
The code for printing a raw path is only used in utils.rs, which only prints the alternative (non-HTML) format. Path has a function that does the same thing without HTML support, so use that instead.
r? @jyn514 (rust-highfive has picked a reviewer for you, use r? to override) |
This is another change factored out of #83237. The root cause behind this PR, in common with some other ones, is that you need access to more information to do HTML printing than you need to do non-HTML printing. |
r=me with CI passing (make sure to use @bors delegate=notriddle |
✌️ @notriddle can now approve this pull request |
@bors r=jyn514 |
📌 Commit 6109cee has been approved by |
…anup, r=jyn514 rustdoc: get rid of unused path printing code The code for printing a raw path is only used in utils.rs, which only prints the alternative (non-HTML) format. Path has a function that does the same thing without HTML support, so use that instead.
…anup, r=jyn514 rustdoc: get rid of unused path printing code The code for printing a raw path is only used in utils.rs, which only prints the alternative (non-HTML) format. Path has a function that does the same thing without HTML support, so use that instead.
☀️ Test successful - checks-actions |
The code for printing a raw path is only used in utils.rs, which only prints the alternative (non-HTML) format. Path has
a function that does the same thing without HTML support, so use that instead.