We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a11b5 commit f158f6eCopy full SHA for f158f6e
nix-script-directives/src/expr.rs
@@ -38,7 +38,7 @@ impl Expr {
38
}
39
40
pub fn is_leaf(&self) -> bool {
41
- matches!(self.kind(), SyntaxKind::NODE_IDENT)
+ self.kind() == SyntaxKind::NODE_IDENT
42
43
44
0 commit comments