Skip to content

Commit 8ab5c64

Browse files
committed
scalafmtAll
1 parent ad960a3 commit 8ab5c64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csv/generic/shared/src/main/scala-2/fs2/data/csv/generic/internal/MapShapedCsvRowDecoder.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ private[generic] trait LowPriorityMapShapedCsvRowDecoder1 {
7474
default: Option[Head] :: DefaultTail,
7575
anno: Anno :: AnnoTail): DecoderResult[FieldType[Key, Head] :: Tail] = {
7676
val head = row(anno.head.fold(witness.value.name)(_.name)) match {
77-
case Some(head) if head.isEmpty && default.head.nonEmpty => default.head.toRight(new DecoderError("Should not happen", row.line))
77+
case Some(head) if head.isEmpty && default.head.nonEmpty =>
78+
default.head.toRight(new DecoderError("Should not happen", row.line))
7879
case Some(head) =>
7980
Head(head).leftMap(_.withLine(row.line))
8081
case _ =>

0 commit comments

Comments
 (0)