diff options
author | Mihai Alexandru Michis <malexandru@mozilla.com> | 2020-11-17 14:48:54 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-02-26 16:44:05 +0100 |
commit | e9c1d490a9f02ce879a535adb309e7ada182f308 (patch) | |
tree | 4f19a0d6e4cefc45371e603d9b408de3b1b40a8f | |
parent | a95ce7955419ba580f00cccdc5450715c0749c2b (diff) | |
download | servo-e9c1d490a9f02ce879a535adb309e7ada182f308.tar.gz servo-e9c1d490a9f02ce879a535adb309e7ada182f308.zip |
style: Fix lint error in matching.rs a=lint-fix
CLOSED TREE
-rw-r--r-- | components/selectors/matching.rs | 4 |
1 files 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 }; |