From b99d9adc44391e3546e87476e075da56002e8b6e Mon Sep 17 00:00:00 2001 From: togami Date: Tue, 1 Oct 2024 00:46:42 +0900 Subject: [PATCH] chore: clippy --- .../src/lint/suspicious/no_shorthand_property_overrides.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/biome_css_analyze/src/lint/suspicious/no_shorthand_property_overrides.rs b/crates/biome_css_analyze/src/lint/suspicious/no_shorthand_property_overrides.rs index 699ec6c81345..b4c0d4252b77 100644 --- a/crates/biome_css_analyze/src/lint/suspicious/no_shorthand_property_overrides.rs +++ b/crates/biome_css_analyze/src/lint/suspicious/no_shorthand_property_overrides.rs @@ -109,13 +109,13 @@ impl Visitor for NoDeclarationBlockShorthandPropertyOverridesVisitor { let prop_lowercase = prop.to_lowercase(); let prop_prefix = vender_prefix(&prop_lowercase); - let unprefixed_prop = remove_vendor_prefix(&prop_lowercase, &prop_prefix); - let override_props = get_override_props(&unprefixed_prop); + let unprefixed_prop = remove_vendor_prefix(&prop_lowercase, prop_prefix); + let override_props = get_override_props(unprefixed_prop); self.prior_props_in_block.iter().for_each(|prior_prop| { let prior_prop_prefix = vender_prefix(&prior_prop.lowercase); let unprefixed_prior_prop = - remove_vendor_prefix(&prior_prop.lowercase, &prior_prop_prefix); + remove_vendor_prefix(&prior_prop.lowercase, prior_prop_prefix); if prop_prefix == prior_prop_prefix && override_props.binary_search(&unprefixed_prior_prop).is_ok()