mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +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)
|
||||
});
|
||||
|
||||
let image = image.map(|image| Arc::new(image));
|
||||
let image = image.map(Arc::new);
|
||||
to_cache.send(Msg::StoreImage(url.clone(), image)).unwrap();
|
||||
debug!("image_cache_task: ended image decode for {}", url.serialize());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue