mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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.
|
||||
#[allow(unused_mut)]
|
||||
fn cascade_with_cached_declarations(applicable_declarations: &[DeclarationBlock],
|
||||
shareable: bool,
|
||||
parent_style: &ComputedValues,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue