Make node cloneable.
This commit is contained in:
parent
6e5ff8615a
commit
7bc05e0770
@ -32,7 +32,7 @@ mod iter;
|
||||
/// assert_eq!(node.eval_with_context(&context), Ok(Value::from(3)));
|
||||
/// ```
|
||||
///
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq, Clone)]
|
||||
pub struct Node {
|
||||
operator: Operator,
|
||||
children: Vec<Node>,
|
||||
|
Loading…
Reference in New Issue
Block a user