Skip to content

Commit 499e8c2

Browse files
committed
Format scan.rs
1 parent 873119c commit 499e8c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scan.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ pub fn find_algorithms<'a>(
218218
matched = true;
219219
break;
220220
}
221-
if text != match_text && let Some(m) = re.find(match_text) {
221+
if text != match_text
222+
&& let Some(m) = re.find(match_text)
223+
{
222224
if let Some((_, map)) = resolved.as_ref() {
223225
let start = m.start();
224226
let end = m.end().min(map.len());

0 commit comments

Comments
 (0)