Skip to content

Commit

Permalink
Merge #417
Browse files Browse the repository at this point in the history
417: Derive Hash for EitherOrBoth r=jswrenn a=clintfred



Co-authored-by: Clint Frederickson <clint.frederickson@ironcorelabs.com>
  • Loading branch information
bors[bot] and clintfred committed Mar 4, 2020
2 parents 7c96136 + 649f2c2 commit 0b99893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/either_or_both.rs
Expand Up @@ -3,7 +3,7 @@ use EitherOrBoth::*;
use either::Either;

/// Value that either holds a single A or B, or both.
#[derive(Clone, PartialEq, Eq, Debug)]
#[derive(Clone, PartialEq, Eq, Hash, Debug)]
pub enum EitherOrBoth<A, B> {
/// Both values are present.
Both(A, B),
Expand Down

0 comments on commit 0b99893

Please sign in to comment.