diff --git a/app/buck2_bxl/src/bxl/starlark_defs/providers_expr.rs b/app/buck2_bxl/src/bxl/starlark_defs/providers_expr.rs index 704d40c70a3a..01369763315f 100644 --- a/app/buck2_bxl/src/bxl/starlark_defs/providers_expr.rs +++ b/app/buck2_bxl/src/bxl/starlark_defs/providers_expr.rs @@ -123,10 +123,7 @@ impl<'v> AnyProvidersExprArg<'v> { impl<'v> AnyProvidersLabelArg<'v> { fn is_unconfigured(&self) -> bool { - match self { - AnyProvidersLabelArg::Unconfigured(_) => true, - _ => false, - } + matches!(self, AnyProvidersLabelArg::Unconfigured(_)) } }