From e9c1d490a9f02ce879a535adb309e7ada182f308 Mon Sep 17 00:00:00 2001 From: Mihai Alexandru Michis Date: Tue, 17 Nov 2020 14:48:54 +0200 Subject: [PATCH] style: Fix lint error in matching.rs a=lint-fix CLOSED TREE --- components/selectors/matching.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/selectors/matching.rs b/components/selectors/matching.rs index 634ed90d62f..244572b53bd 100644 --- a/components/selectors/matching.rs +++ b/components/selectors/matching.rs @@ -914,8 +914,8 @@ where is_from_end, cache.as_deref_mut(), ); - if let Some(c) = cache.as_mut() { - c.insert(element.opaque(), i) + if let Some(c) = cache.as_mut() { + c.insert(element.opaque(), i) } i };