From f5520077e0a72cec0dc8331b0e922132e7335e1c Mon Sep 17 00:00:00 2001 From: Claus Matzinger Date: Thu, 1 Dec 2022 22:47:01 +0100 Subject: [PATCH] Added Clone to errors --- src/error/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error/mod.rs b/src/error/mod.rs index a4b2d44..5154d6f 100644 --- a/src/error/mod.rs +++ b/src/error/mod.rs @@ -14,7 +14,7 @@ use crate::{operator::Operator, value::Value}; mod display; /// Errors used in this crate. -#[derive(Debug, PartialEq)] +#[derive(Debug, Clone, PartialEq)] #[non_exhaustive] pub enum EvalexprError { /// An operator was called with a wrong amount of arguments.