-
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
Fixing broken references to char primitive methods in str module #69669
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
This PR would break the links for the |
Just like @tspiteri said, it seems to fix something as much as it breaks things... |
I think the solution to this problem would have to be in rustdoc, but I don't know rustdoc enough to know how hard it would be. I think that for relative links in |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Yes, this is #32129. Thank you and sorry :( |
I see, I am not familiar with how the references are generated. Thanks for catching this. |
Using the intra-doc links would work I guess. |
@GuillaumeGomez I had already tried that and failed in #58596, that's why this PR caught me attention. But I got blocked on #58699 and couldn't work around it as suggested in #58699 (comment), though I do not remember the details why; maybe I missed something. |
I can take a look. intra-doc links might be a bit "lazy" sometimes... |
The links in
string
module to methods inchar
module are broken for #method.escape_debug, #method.escape_default and #method.escape_unicode.r? @steveklabnik