Skip to content

Commit 996186c

Browse files
committed
fmt
1 parent 5fbb1ed commit 996186c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/node.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,10 @@ impl<T: fmt::Debug> Node<T> {
345345
.enumerate()
346346
.filter_map(|(n, b)| (s[0] == *b).then_some(n))
347347
.find_map(|n| {
348-
node.find_with(start + n, &bytes[n..], ranges).inspect(
349-
|_| {
348+
node.find_with(start + n, &bytes[n..], ranges)
349+
.inspect(|_| {
350350
ranges.push(start..start + n);
351-
},
352-
)
351+
})
353352
});
354353
}
355354
}

0 commit comments

Comments
 (0)