Upgrade Rust toolchain to 1.83 (#14677)

This commit is contained in:
Micha Reiser
2024-11-29 13:05:05 +01:00
committed by GitHub
parent a6402fb51e
commit b63c2e126b
63 changed files with 127 additions and 127 deletions

View File

@@ -14,7 +14,7 @@ pub(super) enum AnyExpressionYield<'a> {
YieldFrom(&'a ExprYieldFrom),
}
impl<'a> AnyExpressionYield<'a> {
impl AnyExpressionYield<'_> {
const fn is_yield_from(&self) -> bool {
matches!(self, AnyExpressionYield::YieldFrom(_))
}