Skip to content

Commit f79e419

Browse files
authored
Added missing words about contravariant bounding (#104)
1 parent e36312b commit f79e419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scalatutorial/sections/PolymorphicTypes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ object PolymorphicTypes extends ScalaTutorialSection {
424424
* This passes variance checks, because:
425425
*
426426
* - covariant type parameters may appear in lower bounds of method type parameters
427-
* - contravariant type parameters may appear in upper bounds of method
427+
* - contravariant type parameters may appear in upper bounds of method type parameters
428428
*
429429
* = Exercise =
430430
*

0 commit comments

Comments
 (0)