We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83dd631 commit 22b66cfCopy full SHA for 22b66cf
core/src/main/scala/cats/instances/either.scala
@@ -79,7 +79,7 @@ trait EitherInstances extends cats.kernel.instances.EitherInstances {
79
80
override def as[B, C](fa: Either[A, B], c: C): Either[A, C] =
81
fa match {
82
- case Right(_) => Right(c)
+ case Right(_) => Right(c)
83
case left @ Left(_) => left.rightCast[C]
84
}
85
0 commit comments