mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
removed mutable compile warnings (#31822)
Signed-off-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local> Co-authored-by: Sandeep Pillai <sandeeppillai@Sandeeps-MacBook-Air.local>
This commit is contained in:
parent
99bad9d9b8
commit
77f5175efc
3 changed files with 5 additions and 5 deletions
|
@ -72,7 +72,7 @@ impl CSSStyleOwner {
|
|||
let result = if attr.is_some() {
|
||||
let lock = attr.as_ref().unwrap();
|
||||
let mut guard = shared_lock.write();
|
||||
let mut pdb = lock.write_with(&mut guard);
|
||||
let pdb = lock.write_with(&mut guard);
|
||||
let result = f(pdb, &mut changed);
|
||||
result
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue