Skip to content

Commit

Permalink
Ran prePR to format code.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthughes committed Jan 25, 2019
1 parent 7a1c65c commit dde5a15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/main/scala/cats/syntax/foldable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ final class FoldableOps[F[_], A](private val fa: F[A]) extends AnyVal {

/**
* Make a string using `Show`, prefix, delimiter, and suffix.
*
*
* Named as `mkString_` to avoid conflict.
*
* Example:
Expand All @@ -104,10 +104,10 @@ final class FoldableOps[F[_], A](private val fa: F[A]) extends AnyVal {
b.toString.dropRight(delim.length)
} + suffix
}

/**
* Make a string using `Show` and delimiter.
*
*
* Named as `mkString_` to avoid conflict.
*
* Example:
Expand All @@ -119,10 +119,10 @@ final class FoldableOps[F[_], A](private val fa: F[A]) extends AnyVal {
* res0: String = 1,2,3
* scala> val el: List[Int] = List()
* scala> el.mkString_(",")
* res1: String =
* res1: String =
* }}}
*/
def mkString_(delim: String)(implicit A: Show[A], F: Foldable[F]): String =
def mkString_(delim: String)(implicit A: Show[A], F: Foldable[F]): String =
mkString_("", delim, "")

/**
Expand Down

0 comments on commit dde5a15

Please sign in to comment.