Skip to content

Don't recommend ONCE_INIT in std::sync::Once - #65461

Merged
bors merged 1 commit into
rust-lang:masterfrom
Kampfkarren:patch-1
Oct 17, 2019
Merged

Don't recommend ONCE_INIT in std::sync::Once#65461
bors merged 1 commit into
rust-lang:masterfrom
Kampfkarren:patch-1

Conversation

@Kampfkarren

Copy link
Copy Markdown
Contributor

ONCE_INIT is deprecated, and so suggesting it as not only being on par with, but before Once::new is a bad idea.

ONCE_INIT is deprecated, and so suggesting it as not only being on par with, but before `Once::new` is a bad idea.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @withoutboats

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 16, 2019
@Centril

Copy link
Copy Markdown
Contributor

r? @Centril@bors r+ rollup

@bors

bors commented Oct 16, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 247df6e has been approved by Centril

@borsbors 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 Oct 16, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 16, 2019
Don't recommend ONCE_INIT in std::sync::Once
ONCE_INIT is deprecated, and so suggesting it as not only being on par with, but before `Once::new` is a bad idea.
@CentrilCentril mentioned this pull request Oct 16, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 16, 2019
Don't recommend ONCE_INIT in std::sync::Once
ONCE_INIT is deprecated, and so suggesting it as not only being on par with, but before `Once::new` is a bad idea.
@CentrilCentril mentioned this pull request Oct 16, 2019
bors added a commit that referenced this pull request Oct 17, 2019
Rollup of 8 pull requests
Successful merges:
- #65094 (Prefer statx on linux if available)
- #65316 (make File::try_clone produce non-inheritable handles on Windows)
- #65319 (InterpCx: make memory field public)
- #65461 (Don't recommend ONCE_INIT in std::sync::Once)
- #65465 (Move syntax::ext to a syntax_expand and refactor some attribute logic)
- #65469 (Update libc to 0.2.64)
- #65475 (add example for type_name)
- #65478 (fmt::Write is about string slices, not byte slices)
Failed merges:
r? @ghost
Centril added a commit to Centril/rust that referenced this pull request Oct 17, 2019
Don't recommend ONCE_INIT in std::sync::Once
ONCE_INIT is deprecated, and so suggesting it as not only being on par with, but before `Once::new` is a bad idea.
@CentrilCentril mentioned this pull request Oct 17, 2019
bors added a commit that referenced this pull request Oct 17, 2019
Rollup of 8 pull requests
Successful merges:
- #65237 (Move debug_map assertions after check for err)
- #65316 (make File::try_clone produce non-inheritable handles on Windows)
- #65319 (InterpCx: make memory field public)
- #65461 (Don't recommend ONCE_INIT in std::sync::Once)
- #65465 (Move syntax::ext to a syntax_expand and refactor some attribute logic)
- #65475 (add example for type_name)
- #65478 (fmt::Write is about string slices, not byte slices)
- #65486 (doc: fix typo in OsStrExt and OsStringExt)
Failed merges:
r? @ghost
@bors
bors merged commit 247df6e into rust-lang:masterOct 17, 2019
@Kampfkarren
Kampfkarren deleted the patch-1 branch October 19, 2019 08:44
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

5 participants

@Kampfkarren@rust-highfive@Centril@bors@withoutboats