From e347885c79a69a68b7bbbc3e5e8153374859587a Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 28 Jul 2023 13:52:50 +0900 Subject: [PATCH] Allow to use EitherOrBoth to mean the same as EitherOrBoth --- src/either_or_both.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/either_or_both.rs b/src/either_or_both.rs index d39747eaa..9dbc880d3 100644 --- a/src/either_or_both.rs +++ b/src/either_or_both.rs @@ -6,7 +6,7 @@ use either::Either; /// Value that either holds a single A or B, or both. #[derive(Clone, PartialEq, Eq, Hash, Debug)] -pub enum EitherOrBoth { +pub enum EitherOrBoth { /// Both values are present. Both(A, B), /// Only the left value of type `A` is present.