From 25fd730be4965918df86c60f485a0593f321eb15 Mon Sep 17 00:00:00 2001 From: Gustavo De Micheli Date: Sun, 4 Apr 2021 19:34:03 +0200 Subject: [PATCH] Update types-variance.md --- _overviews/scala3-book/types-variance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/types-variance.md b/_overviews/scala3-book/types-variance.md index 017cb55cac..eb7c2658e0 100644 --- a/_overviews/scala3-book/types-variance.md +++ b/_overviews/scala3-book/types-variance.md @@ -146,4 +146,4 @@ In this section, we have encountered three different kinds of variance: This also holds for immutable collections. - **Consumers** are typically contravariant, and mark their type parameter with `-`. - Types that are **both** producers and consumers have to be invariant, and do not require any marking on their type parameter. - Immutable collections like `Array` fall into this category. + Mutable collections like `Array` fall into this category.