-
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
Adjust documentation links for slice::make_ascii_*case #83577
Adjust documentation links for slice::make_ascii_*case #83577
Conversation
… the same type, rather than on u8
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @m-ou-se (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. |
Thanks! Can you make the links use |
Sure! I was just mirroring the inverse docs (e.g. the docs of |
Ah yes. This feature of rustdoc is relatively new, and we haven't applied it everywhere in the standard library yet. So if you see any, feel free to update them. (See also #75080, which was tracking the progress on that.) |
…r rustdoc link format
This comment has been minimized.
This comment has been minimized.
Oh, |
Okay, so I should put the ones in core back to |
Yes, let's do that for now. @jyn514 Do you think rustdoc should handle this? We don't have a lot of types to which we add methods in both |
…oc, which may not be available
Thanks! And congrats on your first contribution to the Rust standard library ^^ @bors r+ rollup |
📌 Commit 0a30c5b has been approved by |
This is a very large can of worms - I would like it to work, but it's hard. #74481 |
☀️ Test successful - checks-actions |
The documentation for the functions
slice::to_ascii_lowercase
andslice::to_ascii_uppercase
contain the suggestionhowever the link to the suggested method takes you to the page for
u8
, rather than the method of that name on the same page.