Skip to content

Commit 6d8c9fa

Browse files
Merge pull request #57 from artnan/patch-1
Fix typo in PolymorphicTypes.scala
2 parents 64cd9b9 + 3ca0f31 commit 6d8c9fa

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
@@ -328,7 +328,7 @@ object PolymorphicTypes extends ScalaTutorialSection {
328328
* }}}
329329
*
330330
* In such a case, intuitively, it makes sense to have `Vet[Mammal] <: Vet[Zebra]` because
331-
* a vet that can treat any mammal is able to to treat a zebra in particular. This is
331+
* a vet that can treat any mammal is able to treat a zebra in particular. This is
332332
* an example of a contravariant type.
333333
*
334334
* == Variance Checks ==

0 commit comments

Comments
 (0)