style(xatu): group parser trait imports
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user