Skip to content

Commit

Permalink
Add final modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Sep 5, 2024
1 parent e5c566e commit 272af6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ private[compat] trait PackageShared {
new RandomExtensions(self)
}

class ArrayExtensions(private val fact: Array.type) extends AnyVal {
final class ArrayExtensions(private val fact: Array.type) extends AnyVal {
def from[A: ClassTag](source: TraversableOnce[A]): Array[A] =
source match {
case it: Iterable[A] => it.toArray[A]
Expand Down

0 comments on commit 272af6e

Please sign in to comment.