-
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
Stabilize bool::then_some
#96628
Stabilize bool::then_some
#96628
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
r? @rust-lang/libs-api |
This comment has been minimized.
This comment has been minimized.
3e7d329
to
288fa86
Compare
This comment has been minimized.
This comment has been minimized.
288fa86
to
10d2f11
Compare
📌 Commit 10d2f1159d8f4cc8ee0dc16984257988de6e3568 has been approved by |
☔ The latest upstream changes (presumably #96558) made this pull request unmergeable. Please resolve the merge conflicts. |
10d2f11
to
0fc5c52
Compare
Rebased. @bors r+ |
📌 Commit 0fc5c52 has been approved by |
Rollup of 7 pull requests Successful merges: - rust-lang#96603 (Enable full revision in const generics ui tests) - rust-lang#96616 (Relax memory ordering used in `min_stack`) - rust-lang#96619 (Relax memory ordering used in SameMutexCheck) - rust-lang#96628 (Stabilize `bool::then_some`) - rust-lang#96658 (Move callback to the () => {} syntax.) - rust-lang#96677 (Add more tests for label-break-value) - rust-lang#96697 (Enable tracing for all queries) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
which was just [recently stabilized in rust 1.62.0][1] and hence raises the MSRV to 1.62.0 for all HALs. Use `bool::then` instead, which takes a closure instead of a parameter but has the same effect otherwise and is available [since rust 1.50.0][2]. [1]: rust-lang/rust#96628 [2]: https://doc.rust-lang.org/stable/std/primitive.bool.html#method.then
which was just [recently stabilized in rust 1.62.0][1] and hence raises the MSRV to 1.62.0 for all HALs. Use `bool::then` instead, which takes a closure instead of a parameter but has the same effect otherwise and is available [since rust 1.50.0][2]. [1]: rust-lang/rust#96628 [2]: https://doc.rust-lang.org/stable/std/primitive.bool.html#method.then
which was just [recently stabilized in rust 1.62.0][1] and hence raises the MSRV to 1.62.0 for all HALs. Use `bool::then` instead, which takes a closure instead of a parameter but has the same effect otherwise and is available [since rust 1.50.0][2]. [1]: rust-lang/rust#96628 [2]: https://doc.rust-lang.org/stable/std/primitive.bool.html#method.then
FCP completed in #80967