Skip to content

Commit eb61a0f

Browse files
committed
Let unlikely case go through
1 parent 1c5bae4 commit eb61a0f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/ark/src/lsp/traits/node.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,6 @@ impl<'tree> NodeExt for Node<'tree> {
260260
let name = node.child_by_field_name("name");
261261
let value = node.child_by_field_name("value");
262262

263-
// Likely not possible but just in case
264-
if value.is_none() && name.is_none() {
265-
return None;
266-
}
267-
268263
Some((name, value))
269264
})
270265
}

0 commit comments

Comments
 (0)