From 1e113960ce7c3757972365890965c89c582719f8 Mon Sep 17 00:00:00 2001 From: bicarlsen Date: Sun, 8 Dec 2024 00:11:29 +0100 Subject: [PATCH] Update docs of `either!` macro for increased branches. --- either_of/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/either_of/src/lib.rs b/either_of/src/lib.rs index 79b97033e5..2184fc3caa 100644 --- a/either_of/src/lib.rs +++ b/either_of/src/lib.rs @@ -134,7 +134,7 @@ tuples!(EitherOf14 + EitherOf14Future + EitherOf14FutureProj => A, B, C, D, E, F tuples!(EitherOf15 + EitherOf15Future + EitherOf15FutureProj => A, B, C, D, E, F, G, H, I, J, K, L, M, N, O); tuples!(EitherOf16 + EitherOf16Future + EitherOf16FutureProj => A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P); -/// Matches over the first expression and returns an either ([`Either`], [`EitherOf3`], ... [`EitherOf6`]) +/// Matches over the first expression and returns an either ([`Either`], [`EitherOf3`], ... [`EitherOf8`]) /// composed of the values returned by the match arms. /// /// The pattern syntax is exactly the same as found in a match arm.