Skip to content

Commit 7c81b30

Browse files
committed
don't try to do an Any trampoline for Expr
1 parent b2e5659 commit 7c81b30

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

argus-core/src/expr/traits.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::any::Any;
2-
31
use enum_dispatch::enum_dispatch;
42

53
use super::{BoolExpr, ExprRef, NumExpr};
@@ -16,9 +14,6 @@ pub trait Expr {
1614
/// If the expression doesn't contain arguments (i.e., it is a leaf expression) then
1715
/// the vector is empty.
1816
fn args(&self) -> Vec<ExprRef<'_>>;
19-
20-
/// [`std::any::Any`] trampoline for expressions
21-
fn as_any(&self) -> &dyn Any;
2217
}
2318

2419
/// Marker trait for numeric expressions

0 commit comments

Comments
 (0)