Skip to content

Commit

Permalink
Fix typo in PolymorphicTypes.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
artnan committed Apr 16, 2019
1 parent 64cd9b9 commit 3ca0f31
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -328,7 +328,7 @@ object PolymorphicTypes extends ScalaTutorialSection {
* }}}
*
* In such a case, intuitively, it makes sense to have `Vet[Mammal] <: Vet[Zebra]` because
* a vet that can treat any mammal is able to to treat a zebra in particular. This is
* a vet that can treat any mammal is able to treat a zebra in particular. This is
* an example of a contravariant type.
*
* == Variance Checks ==
Expand Down

0 comments on commit 3ca0f31

Please sign in to comment.