Repository navigation
Remove ignore-unsafe tidy check in alloc/linklist - #163952
Conversation
|
r? @clarfonthey rustbot has assigned @clarfonthey. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Reminder, once the PR becomes ready for a review, use |
ec55b97 to
d92c37f
Compare
This comment has been minimized.
This comment has been minimized.
|
@rustbot ready |
d92c37f to
443a61d
Compare
ac8c13e to
a381a72
Compare
|
@bushrat011899 thank you very much. I read these codes again and be sure that I was wrong about the index. I update the definition-site doc and the call-site comment. Could you please take another look at it? |
|
@rustbot ready |
|
r? bushrat011899 since I trust your review here and you can just merge once you're happy with it. |
There was a problem hiding this comment.
Thank you so much for all the work you're putting into these docs. I have one last trio of very tiny changes, and then I feel comfortable approving this PR. Since this is exclusively documentation changes I do consider this low-risk, and even potentially incomplete safety documentation is more useful that nothing at all.
a381a72 to
1da334e
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rustbot ready. I have fixed this PR and add the ownership requirement, besides add the deleted blank line. @bushrat011899 thank you for your review! |
|
Unknown command "r?". Run |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
@bors r+ |
…hrat011899 Remove ignore-unsafe tidy check in alloc/linklist This PR remove all `ignore-tidy-undocumented-unsafe` in `alloc/src/collections/linked_list.rs`. All unsafe call-sites are checked. Besides, this PR adds missing document comments for two unsafe functions(although they are private). If there exists anything need to be modified, I will update this PR.
…hrat011899 Remove ignore-unsafe tidy check in alloc/linklist This PR remove all `ignore-tidy-undocumented-unsafe` in `alloc/src/collections/linked_list.rs`. All unsafe call-sites are checked. Besides, this PR adds missing document comments for two unsafe functions(although they are private). If there exists anything need to be modified, I will update this PR.
…uwer Rollup of 5 pull requests Successful merges: - #164790 (Split `LintLevelsBuilder::add` into `add_ast` and `add_hir`) - #163952 (Remove ignore-unsafe tidy check in alloc/linklist) - #164691 (Minor lints and performance improvements for LLDB visualizers) - #164925 (Cleanup `rustdoc-html` tests) - #164941 (Update actions/setup-python action to v7.1.0)
Rollup merge of #163952 - yilin0518:fix_tidy_linklist, r=bushrat011899 Remove ignore-unsafe tidy check in alloc/linklist This PR remove all `ignore-tidy-undocumented-unsafe` in `alloc/src/collections/linked_list.rs`. All unsafe call-sites are checked. Besides, this PR adds missing document comments for two unsafe functions(although they are private). If there exists anything need to be modified, I will update this PR.
View all comments
This PR remove all
ignore-tidy-undocumented-unsafeinalloc/src/collections/linked_list.rs. All unsafe call-sites are checked. Besides, this PR adds missing document comments for two unsafe functions(although they are private).If there exists anything need to be modified, I will update this PR.