actually derive the copy trait for eval
This commit is contained in:
1 parent
a789d6a64e
commit
308226996c
1 file changed
+1
@@ -59,6 +59,7 @@ pub fn eval(script: &str) -> Result<UseEval, EvalError> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A wrapper around the target platform's evaluator.
|
/// A wrapper around the target platform's evaluator.
|
||||||
|
#[derive(Clone, Copy)]
|
||||||
pub struct UseEval {
|
pub struct UseEval {
|
||||||
evaluator: GenerationalBox<Box<dyn Evaluator>>,
|
evaluator: GenerationalBox<Box<dyn Evaluator>>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user