mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
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:
parent
ffa992864d
commit
0ede734018
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
/// Fast path for the function below. Only computes new inherited styles.
|
||||||
|
#[allow(unused_mut)]
|
||||||
fn cascade_with_cached_declarations(applicable_declarations: &[DeclarationBlock],
|
fn cascade_with_cached_declarations(applicable_declarations: &[DeclarationBlock],
|
||||||
shareable: bool,
|
shareable: bool,
|
||||||
parent_style: &ComputedValues,
|
parent_style: &ComputedValues,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue