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:
sandeep 2024-03-22 15:28:27 +05:30 committed by GitHub
parent 99bad9d9b8
commit 77f5175efc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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 {