Skip to content

Commit c2d034c

Browse files
chore: clippy
1 parent 2018441 commit c2d034c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ impl LedgerBackend {
283283
if node.range().end_point.column == position.character as usize
284284
&& node
285285
.named_child(0)
286-
.map_or(false, |child| child.kind() == "filename") =>
286+
.is_some_and(|child| child.kind() == "filename") =>
287287
{
288288
if let Some(child) = node.named_child(0) {
289289
range = child.range();

0 commit comments

Comments
 (0)