From 3ca0f31f02883dcca476fd8549a7e8ec8ee81540 Mon Sep 17 00:00:00 2001 From: artnan Date: Tue, 16 Apr 2019 15:33:44 +0700 Subject: [PATCH] Fix typo in PolymorphicTypes.scala --- src/main/scala/scalatutorial/sections/PolymorphicTypes.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/scalatutorial/sections/PolymorphicTypes.scala b/src/main/scala/scalatutorial/sections/PolymorphicTypes.scala index eb39cdd9..2425d0b9 100644 --- a/src/main/scala/scalatutorial/sections/PolymorphicTypes.scala +++ b/src/main/scala/scalatutorial/sections/PolymorphicTypes.scala @@ -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 ==