Skip to content

Commit

Permalink
Merge pull request scala-exercises#57 from artnan/patch-1
Browse files Browse the repository at this point in the history
Fix typo in PolymorphicTypes.scala
  • Loading branch information
fedefernandez authored Apr 17, 2019
2 parents 64cd9b9 + 3ca0f31 commit 6d8c9fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 6d8c9fa

Please sign in to comment.