mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make minor syntax simplification to address review.
This commit is contained in:
parent
5b593a3d32
commit
395e8a5981
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl ImageCache {
|
||||||
load_from_memory(&data)
|
load_from_memory(&data)
|
||||||
});
|
});
|
||||||
|
|
||||||
let image = image.map(|image| Arc::new(image));
|
let image = image.map(Arc::new);
|
||||||
to_cache.send(Msg::StoreImage(url.clone(), image)).unwrap();
|
to_cache.send(Msg::StoreImage(url.clone(), image)).unwrap();
|
||||||
debug!("image_cache_task: ended image decode for {}", url.serialize());
|
debug!("image_cache_task: ended image decode for {}", url.serialize());
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue