style(xatu): group parser trait imports

This commit is contained in:
2026-09-19 18:23:15 -04:00
parent 309c3689ee
commit 1e1e6d6d4d

View File

@@ -1,3 +1,4 @@
use rnix::ast::HasEntry;
use rowan::ast::AstNode; use rowan::ast::AstNode;
use crate::{FileId, ast}; use crate::{FileId, ast};
@@ -114,8 +115,6 @@ fn convert_let_in(node: rnix::SyntaxNode) -> Option<ast::Node> {
impl From<rnix::ast::LetIn> for ast::LetIn { impl From<rnix::ast::LetIn> for ast::LetIn {
fn from(let_in: rnix::ast::LetIn) -> Self { fn from(let_in: rnix::ast::LetIn) -> Self {
use rnix::ast::HasEntry;
Self { Self {
binding_count: let_in.attrpath_values().count() binding_count: let_in.attrpath_values().count()
+ let_in + let_in