Skip to content

Commit 66aa426

Browse files
committed
correct "with regards to"
1 parent 86fdab7 commit 66aa426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/variances.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ previous-page: generic-classes
1010
redirect_from: "/tutorials/tour/variances.html"
1111
---
1212

13-
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.
13+
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.
1414

1515
{% tabs variances_1 %}
1616
{% tab 'Scala 2 and 3' for=variances_1 %}

0 commit comments

Comments
 (0)