Skip to content
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

Accept more safety comments #75422

Merged

Conversation

poliorcetics
Copy link
Contributor

@poliorcetics poliorcetics commented Aug 11, 2020

This accepts more // SAFETY: comments from tidy.

This is done after the current behaviour of requiring text one the same line (because spaces are stripped so the last space never pass if there is no text on the same line) bit me once more in #75066

This could potentially accept empty // SAFETY: comments but tidy is an internal tool used only here so my reasoning is reviews will catch those.

@rustbot rustbot added the T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. label Aug 11, 2020
@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 11, 2020
@Mark-Simulacrum Mark-Simulacrum removed the T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. label Aug 11, 2020
@Mark-Simulacrum
Copy link
Member

@bors r+

Specifically this is intended to support the case where you have a long-ish safety comment to write.

@bors
Copy link
Contributor

bors commented Aug 11, 2020

📌 Commit 883dffa has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 11, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 12, 2020
Rollup of 9 pull requests

Successful merges:

 - rust-lang#74521 (older toolchains not valid anymore)
 - rust-lang#74960 (Fix regionck failure when converting Index to IndexMut)
 - rust-lang#75234 (Update asm! documentation in unstable book)
 - rust-lang#75368 (Move to doc links inside the prelude)
 - rust-lang#75371 (Move to doc links inside std/time.rs)
 - rust-lang#75394 (Add a function to `TyCtxt` for computing an `Allocation` for a `static` item's initializer)
 - rust-lang#75395 (Switch to intra-doc links in library/std/src/os/*/fs.rs)
 - rust-lang#75422 (Accept more safety comments)
 - rust-lang#75424 (fix wrong word in documentation)

Failed merges:

r? @ghost
@bors bors merged commit a8b0a3c into rust-lang:master Aug 12, 2020
@poliorcetics poliorcetics deleted the tidy-accept-more-safety-comments branch August 12, 2020 06:49
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants