Merge pull request #116 from celaus/main

Added Clone to errors
This commit is contained in:
ISibboI 2022-12-02 07:26:31 +02:00 committed by GitHub
commit 6b649728cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ use crate::{operator::Operator, value::Value};
mod display; mod display;
/// Errors used in this crate. /// Errors used in this crate.
#[derive(Debug, PartialEq)] #[derive(Debug, Clone, PartialEq)]
#[non_exhaustive] #[non_exhaustive]
pub enum EvalexprError { pub enum EvalexprError {
/// An operator was called with a wrong amount of arguments. /// An operator was called with a wrong amount of arguments.