Upgrade Rust toolchain to 1.83 (#14677)
This commit is contained in:
@@ -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(_))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user