Skip to content

Commit

Permalink
Reduce visibility of member in NonEmptySet syntax class
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioGela committed Feb 15, 2024
1 parent 919b33b commit a9b2f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/cats/data/NonEmptySet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object NonEmptySetImpl extends NonEmptySetInstances with Newtype {
}

@suppressUnusedImportWarningForScalaVersionSpecific
sealed class NonEmptySetOps[A](val value: NonEmptySet[A]) {
sealed class NonEmptySetOps[A](private[data] val value: NonEmptySet[A]) {

implicit private val ordering: Ordering[A] = toSortedSet.ordering
implicit private val order: Order[A] = Order.fromOrdering
Expand Down

0 comments on commit a9b2f73

Please sign in to comment.