Fix clippy warning

This commit is contained in:
Chris Tsang 2021-06-26 23:02:38 +08:00
parent a072b1f2f3
commit 394dfc07cc

View File

@ -193,9 +193,11 @@ where
break; break;
} }
} }
if same_l && r.is_some() { if same_l {
last_r.push(r.unwrap()); if let Some(r) = r {
continue; last_r.push(r);
continue;
}
} }
} }
if r.is_some() { if r.is_some() {