Skip to content

Commit 461b72e

Browse files
committed
Finish Varargs PR; reduced API surface
Since this is a rarely used feature, a rich encapsulated API for error handling is likely not needed. Most users do not explicitly differentiate error variants, having a descriptive Display impl is usually more important. Supports only 4 expressions for length checks: a, a.., ..=b, a..=b. These are almost always literals and exclusive bounds are likely error prone in this context. Additionally, check_length() with the full range '..' makes no sense, so it's not supported.
1 parent 619e7d4 commit 461b72e

File tree

2 files changed

+148
-321
lines changed

2 files changed

+148
-321
lines changed

0 commit comments

Comments
 (0)