Skip to content

Commit 25fd730

Browse files
authored
Update types-variance.md
1 parent f2b52d4 commit 25fd730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/types-variance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ In this section, we have encountered three different kinds of variance:
146146
This also holds for immutable collections.
147147
- **Consumers** are typically contravariant, and mark their type parameter with `-`.
148148
- Types that are **both** producers and consumers have to be invariant, and do not require any marking on their type parameter.
149-
Immutable collections like `Array` fall into this category.
149+
Mutable collections like `Array` fall into this category.

0 commit comments

Comments
 (0)