Skip to content

Commit

Permalink
Update docs of either! macro for increased branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
bicarlsen authored Dec 7, 2024
1 parent e50aec5 commit 1e11396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion either_of/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1e11396

Please sign in to comment.