Skip to content

Commit 0b99893

Browse files
bors[bot]clintfred
andauthored
Merge #417
417: Derive Hash for EitherOrBoth r=jswrenn a=clintfred Co-authored-by: Clint Frederickson <[email protected]>
2 parents 7c96136 + 649f2c2 commit 0b99893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/either_or_both.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use EitherOrBoth::*;
33
use either::Either;
44

55
/// Value that either holds a single A or B, or both.
6-
#[derive(Clone, PartialEq, Eq, Debug)]
6+
#[derive(Clone, PartialEq, Eq, Hash, Debug)]
77
pub enum EitherOrBoth<A, B> {
88
/// Both values are present.
99
Both(A, B),

0 commit comments

Comments
 (0)