Skip to content

Commit 6d28de3

Browse files
authored
Merge pull request scala/scala#10455 from som-snytt/issue/12199-message
Tweak deprecation of array conversion
2 parents 8232eea + 1c5a3b2 commit 6d28de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/Predef.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ private[scala] abstract class LowPriorityImplicits extends LowPriorityImplicits2
579579
}
580580

581581
private[scala] abstract class LowPriorityImplicits2 {
582-
@deprecated("Implicit conversions from Array to immutable.IndexedSeq are implemented by copying; Use the more efficient non-copying ArraySeq.unsafeWrapArray or an explicit toIndexedSeq call", "2.13.0")
582+
@deprecated("implicit conversions from Array to immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly if you want to copy, or use the more efficient non-copying ArraySeq.unsafeWrapArray", since="2.13.0")
583583
implicit def copyArrayToImmutableIndexedSeq[T](xs: Array[T]): IndexedSeq[T] =
584584
if (xs eq null) null
585585
else new ArrayOps(xs).toIndexedSeq

0 commit comments

Comments
 (0)