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.
This commit is contained in:
Cameron Zwarich 2014-10-06 14:37:23 -07:00
parent ffa992864d
commit 0ede734018

View file

@ -1855,6 +1855,7 @@ impl<T: Send + Sync + Clone> ArcExperimental<T> for Arc<T> {
}
/// 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,