mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
build: upgrade rustc to 1.81.0 (#34270)
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
26f61103d6
commit
7fcde1f7a3
15 changed files with 16 additions and 26 deletions
|
@ -244,9 +244,8 @@ impl StorageManager {
|
|||
let old_value = data
|
||||
.get_mut(&origin)
|
||||
.and_then(|&mut (ref mut total, ref mut entry)| {
|
||||
entry.remove(&name).map(|old| {
|
||||
entry.remove(&name).inspect(|old| {
|
||||
*total -= name.as_bytes().len() + old.as_bytes().len();
|
||||
old
|
||||
})
|
||||
});
|
||||
sender.send(old_value).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue