Skip to content

Commit

Permalink
fixed nonfunctioning doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
gagandeepkalra committed Jan 1, 2020
1 parent 19513d3 commit f69d9fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/main/scala/cats/syntax/functor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ final class UnzipFunctorOps[F[_], A, B](private val fab: F[(A, B)]) extends AnyV
* NOTE: Check for effect duplication, possibly memoize before
*
* {{{
* scala> import cats.Id
* scala> import cats.syntax.functor._
*
* import cats.Id
* import cats.syntax.functor._
*
* scala> (5: Id[Int]).map(i => (i, i)).unzip == (5, 5)
* scala> (5: Id[Int]).map(i => (i, i)).unzip == ((5, 5))
* res0: Boolean = true
* }}}
*
*/
Expand Down

0 comments on commit f69d9fb

Please sign in to comment.