From b5765118fead09f3501e99bcb4cc19496912040d Mon Sep 17 00:00:00 2001 From: John Turner Date: Wed, 29 Oct 2025 12:50:07 +0000 Subject: make depend::Expr generic over Parseables --- src/depend/mod.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/depend/mod.rs') diff --git a/src/depend/mod.rs b/src/depend/mod.rs index 9a7fb71..1d85005 100644 --- a/src/depend/mod.rs +++ b/src/depend/mod.rs @@ -1,4 +1,4 @@ -use crate::{atom::Atom, useflag::UseFlag}; +use crate::useflag::UseFlag; pub mod parsers; @@ -9,10 +9,10 @@ pub enum Conditional { } #[derive(Clone, Debug)] -pub enum Expr { - Atom(Atom), - AllOf(Vec), - AnyOf(Vec), - OneOf(Vec), - ConditionalGroup(Conditional, Vec), +pub enum Expr { + Element(T), + AllOf(Vec), + AnyOf(Vec), + OneOf(Vec), + ConditionalGroup(Conditional, Vec), } -- cgit v1.2.3