Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b52d4 commit 25fd730Copy full SHA for 25fd730
_overviews/scala3-book/types-variance.md
@@ -146,4 +146,4 @@ In this section, we have encountered three different kinds of variance:
146
This also holds for immutable collections.
147
- **Consumers** are typically contravariant, and mark their type parameter with `-`.
148
- 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.
+ Mutable collections like `Array` fall into this category.
0 commit comments