diff --git a/src/either_or_both.rs b/src/either_or_both.rs index b39e46265..e161311fe 100644 --- a/src/either_or_both.rs +++ b/src/either_or_both.rs @@ -5,7 +5,7 @@ use crate::EitherOrBoth::*; use either::Either; /// Value that either holds a single A or B, or both. -#[derive(Clone, PartialEq, Eq, Hash, Debug)] +#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)] pub enum EitherOrBoth { /// Both values are present. Both(A, B),