Skip to content

Commit

Permalink
Make minor syntax simplification to address review.
Browse files Browse the repository at this point in the history
  • Loading branch information
aneeshusa committed Apr 13, 2015
1 parent 5b593a3 commit 395e8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/net/image_cache_task.rs
Expand Up @@ -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());
});
Expand Down

0 comments on commit 395e8a5

Please sign in to comment.