From 66aa426cd243f8188ff1c05a6fb261f2e6a3b5a4 Mon Sep 17 00:00:00 2001 From: Jakub Pavlik Date: Sat, 8 Feb 2025 22:00:21 +0100 Subject: [PATCH] correct "with regards to" --- _tour/variances.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/variances.md b/_tour/variances.md index 706a28ce14..14f40fb893 100644 --- a/_tour/variances.md +++ b/_tour/variances.md @@ -10,7 +10,7 @@ previous-page: generic-classes redirect_from: "/tutorials/tour/variances.html" --- -Variance lets you control how type parameters behave with regards to subtyping. Scala supports variance annotations of type parameters of [generic classes](generic-classes.html), to allow them to be covariant, contravariant, or invariant if no annotations are used. The use of variance in the type system allows us to make intuitive connections between complex types. +Variance lets you control how type parameters behave with regard to subtyping. Scala supports variance annotations of type parameters of [generic classes](generic-classes.html), to allow them to be covariant, contravariant, or invariant if no annotations are used. The use of variance in the type system allows us to make intuitive connections between complex types. {% tabs variances_1 %} {% tab 'Scala 2 and 3' for=variances_1 %}