Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scalafmt core 2.6.1 #3488

Merged
merged 1 commit into from
Jun 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=2.6.0
version=2.6.1
align.openParenCallSite = true
align.openParenDefnSite = true
maxColumn = 120
Expand Down
6 changes: 4 additions & 2 deletions core/src/main/scala/cats/syntax/either.scala
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ final class EitherOps[A, B](private val eab: Either[A, B]) extends AnyVal {

/**
* Returns a [[cats.data.ValidatedNel]] representation of this disjunction with the `Left` value
* as a single element on the `Invalid` side of the [[cats.data.NonEmptyList]]. */
* as a single element on the `Invalid` side of the [[cats.data.NonEmptyList]].
*/
def toValidatedNel[AA >: A]: ValidatedNel[AA, B] =
eab match {
case Left(a) => Validated.invalidNel(a)
Expand Down Expand Up @@ -489,7 +490,8 @@ final private[syntax] class EitherOpsBinCompat0[A, B](private val value: Either[

/**
* Returns a [[cats.data.ValidatedNec]] representation of this disjunction with the `Left` value
* as a single element on the `Invalid` side of the [[cats.data.NonEmptyList]]. */
* as a single element on the `Invalid` side of the [[cats.data.NonEmptyList]].
*/
def toValidatedNec: ValidatedNec[A, B] =
value match {
case Left(a) => Validated.invalidNec(a)
Expand Down