style: Fix lint error in matching.rs a=lint-fix

CLOSED TREE
This commit is contained in:
Mihai Alexandru Michis 2020-11-17 14:48:54 +02:00 committed by Emilio Cobos Álvarez
parent a95ce79554
commit e9c1d490a9

View file

@ -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
};