From 1bc50fdd7c0435bb2f849a148e249e28fa7eadeb Mon Sep 17 00:00:00 2001 From: xiaoshihou Date: Tue, 7 Jan 2025 19:44:57 +0000 Subject: [PATCH] fix(doc): scala tuple size desc --- docs/api-guide/generic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/generic.md b/docs/api-guide/generic.md index d02037187..e40dd1ba7 100644 --- a/docs/api-guide/generic.md +++ b/docs/api-guide/generic.md @@ -273,7 +273,7 @@ be constructed from the results. However, it may also be desirable to override t *templated* `apply` to perform additional checks. This basically means that you can add in a `filter`-like combinator after the data has been constructed to validate that the thing you've constructed is actually correct. As an example, it turns out that -Scala only allows tuples with a maximum of 22 elements: +Scala 2 only allows tuples with a maximum of 22 elements: ```scala mdoc:fail val oops = (1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3)