From 0ede73401839601db54c7c68af342b3c76d0c4ad Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Mon, 6 Oct 2014 14:37:23 -0700 Subject: [PATCH] Silence unused_mut warnings in generated style/properties/mod.rs I would have put the attribute on the binding itself, but that doesn't appear to be possible yet. --- components/style/properties/mod.rs.mako | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/properties/mod.rs.mako b/components/style/properties/mod.rs.mako index 4e393c56103f..6987333ec1ca 100644 --- a/components/style/properties/mod.rs.mako +++ b/components/style/properties/mod.rs.mako @@ -1855,6 +1855,7 @@ impl ArcExperimental for Arc { } /// Fast path for the function below. Only computes new inherited styles. +#[allow(unused_mut)] fn cascade_with_cached_declarations(applicable_declarations: &[DeclarationBlock], shareable: bool, parent_style: &ComputedValues,