From 2012be4a8bd97f2fd69f986c8fffb1af1eec21dc Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 1 Nov 2018 21:43:04 +0100 Subject: `cargo fix --edition-idioms` --- components/script/layout_image.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/layout_image.rs') diff --git a/components/script/layout_image.rs b/components/script/layout_image.rs index 99240074eaa..68a3e788cf4 100644 --- a/components/script/layout_image.rs +++ b/components/script/layout_image.rs @@ -21,7 +21,7 @@ use std::sync::{Arc, Mutex}; struct LayoutImageContext { id: PendingImageId, - cache: Arc, + cache: Arc, } impl FetchResponseListener for LayoutImageContext { @@ -49,7 +49,7 @@ pub fn fetch_image_for_layout( url: ServoUrl, node: &Node, id: PendingImageId, - cache: Arc, + cache: Arc, ) { let context = Arc::new(Mutex::new(LayoutImageContext { id: id, -- cgit v1.2.3