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/dom/htmloptionscollection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/script/dom/htmloptionscollection.rs') diff --git a/components/script/dom/htmloptionscollection.rs b/components/script/dom/htmloptionscollection.rs index 9ad4e7363d0..5c713fe3543 100644 --- a/components/script/dom/htmloptionscollection.rs +++ b/components/script/dom/htmloptionscollection.rs @@ -32,7 +32,7 @@ pub struct HTMLOptionsCollection { impl HTMLOptionsCollection { fn new_inherited( select: &HTMLSelectElement, - filter: Box, + filter: Box, ) -> HTMLOptionsCollection { HTMLOptionsCollection { collection: HTMLCollection::new_inherited(select.upcast(), filter), @@ -42,7 +42,7 @@ impl HTMLOptionsCollection { pub fn new( window: &Window, select: &HTMLSelectElement, - filter: Box, + filter: Box, ) -> DomRoot { reflect_dom_object( Box::new(HTMLOptionsCollection::new_inherited(select, filter)), -- cgit v1.2.3