From 34920ff8a29f160e109a5603f8b110a32e12ef01 Mon Sep 17 00:00:00 2001 From: YoEight Date: Mon, 10 Nov 2025 07:25:59 -0500 Subject: [PATCH] chore(geth-eventql): fix linting --- geth-eventql/src/parser/ast.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/geth-eventql/src/parser/ast.rs b/geth-eventql/src/parser/ast.rs index 9433a15..ec7e2ad 100644 --- a/geth-eventql/src/parser/ast.rs +++ b/geth-eventql/src/parser/ast.rs @@ -664,8 +664,9 @@ pub enum Order { Desc, } -#[derive(PartialEq, Eq, Copy, Clone)] +#[derive(PartialEq, Eq, Copy, Clone, Default)] pub enum ContextFrame { + #[default] Unspecified, Where, GroupBy, @@ -673,12 +674,6 @@ pub enum ContextFrame { Projection, } -impl Default for ContextFrame { - fn default() -> Self { - Self::Unspecified - } -} - #[allow(unused_variables)] pub trait QueryVisitorMut { type Inner<'a>: ExprVisitorMut