]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91091 - ecstatic-morse:control-flow-enum-is, r=m-ou-se
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 12 Dec 2021 23:20:07 +0000 (00:20 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Dec 2021 23:20:07 +0000 (00:20 +0100)
commit6227d42928b0caef4ebb258df7247c1f85fb9e83
treec42ac1cb8888e5593445b76e2bc38d4d98919b9d
parent42f8d4833f21030fa3dff509a2559dfcb5d5ed72
parent7ba4accfbf6278a5ca960c7a1d280df898ebfdb2
Rollup merge of #91091 - ecstatic-morse:control-flow-enum-is, r=m-ou-se

Stabilize `ControlFlow::{is_break, is_continue}`

The type itself was stabilized in 1.55, but using it is not ergonomic without these helper functions. Stabilize them.

r? rust-lang/libs-api
library/core/src/ops/control_flow.rs