From 4b761848a05b95a9b254c4e59e82fffa8e7b32bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 9 May 2019 05:45:10 +0200 Subject: [PATCH] style: Remove unnecessary mut usage. --- components/style/properties/declaration_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/declaration_block.rs b/components/style/properties/declaration_block.rs index 5ce80955a48..1ce083c944f 100644 --- a/components/style/properties/declaration_block.rs +++ b/components/style/properties/declaration_block.rs @@ -1382,7 +1382,7 @@ fn report_css_errors( selectors: Option<&SelectorList>, errors: &mut SmallParseErrorVec, ) { - for (mut error, slice, property) in errors.drain() { + for (error, slice, property) in errors.drain() { report_one_css_error(context, Some(block), selectors, error, slice, property) } }