From 731ad83ae977e56467c6c3f672d623d8efc792f8 Mon Sep 17 00:00:00 2001 From: alexion Date: Sat, 19 Sep 2026 10:18:24 -0400 Subject: [PATCH] style(xatu): order AST declarations --- src/xatu/ast.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/xatu/ast.rs b/src/xatu/ast.rs index d64e63c..1bed799 100644 --- a/src/xatu/ast.rs +++ b/src/xatu/ast.rs @@ -1,5 +1,11 @@ use crate::FileId; +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum NodeData { + Apply(Apply), + Inherit(Inherit), +} + #[derive(Debug, Clone, PartialEq, Eq)] pub struct Apply { pub function: Expr, @@ -27,12 +33,6 @@ pub struct Inherit { pub attr_count: usize, } -#[derive(Debug, Clone, PartialEq, Eq)] -pub enum NodeData { - Apply(Apply), - Inherit(Inherit), -} - #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct SourceRange { pub start: usize,