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 71e076b commit fdcff72Copy full SHA for fdcff72
core/src/main/scala-2.12/cats/data/ChainCompanionCompat.scala
@@ -40,7 +40,7 @@ private[data] trait ChainCompanionCompat {
40
private def fromImmutableSeq[A](s: immutable.Seq[A]): Chain[A] = {
41
val lc = s.lengthCompare(1)
42
if (lc < 0) nil
43
- else if (lc > 0) Wrap(s.toVector)
+ else if (lc > 0) Wrap(s)
44
else one(s.head)
45
}
46
0 commit comments