-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Convert many files to intra-doc links #76235
Conversation
@bors delegate=poliorcetics |
✌️ @poliorcetics can now approve this pull request |
cafab51 is now possible after #75652. I found both of these with |
Actually there are some more links I want to convert, so marking as WIP. |
d760bb6
to
0a14f2f
Compare
Found most of these using the regex in #75080 (comment). Once this and the claimed files are done I think the tracking issue will be almost ready to close :) except for primitives, upstream links, and |
This comment has been minimized.
This comment has been minimized.
Yeah bors is confused and doesn't know what to do about reviewers that aren't part of the rust-lang org. If you like I can assign myself, but that seems a little silly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, left a nit and a question
Also I guess you may want to squash your commits before merging? |
I was planning to keep them as-is, one per file, but I can squash if you prefer. |
I don’t have any preference and I don’t even have merge permissions here, I was only suggesting this because I know some reviewers like to have everything clean and squashed |
One commit per file does not bother me but this is a doc PR so squashing won't lose much history or make bisecting harder. |
- Use intra-doc links for `std::io` in `std::fs` - Use intra-doc links for File::read in unix/ext/fs.rs - Remove explicit intra-doc links for `true` in `net/addr.rs` - Use intra-doc links in alloc/src/sync.rs - Use intra-doc links in src/ascii.rs - Switch to intra-doc links in alloc/rc.rs - Use intra-doc links in core/pin.rs - Use intra-doc links in std/prelude - Use shorter links in `std/fs.rs` `io` is already in scope.
94d6d7a
to
bb10347
Compare
@poliorcetics did I miss a review comment, is this waiting on anything? |
No sorry, I just forgot I was the one responsible for this 😅. @bors r+ rollup |
📌 Commit bb10347 has been approved by |
☀️ Test successful - checks-actions, checks-azure |
Helps with #75080
r? @poliorcetics
I recommend reviewing one commit at a time, but the diff is small enough you can do it all at once if you like :)