Skip to content

Commit

Permalink
refactor(#137): update NotEmptySet.toString function
Browse files Browse the repository at this point in the history
  • Loading branch information
LVMVRQUXL committed Jul 27, 2023
1 parent a3ce7e2 commit d587fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public value class NotEmptySet<out E> private constructor(
*/
public fun toSet(): Set<E> = elements

override fun toString(): String = "${toSet()}"
override fun toString(): String = "$elements"
}

internal class NotEmptySetSerializer<E>(elementSerializer: KSerializer<E>) :
Expand Down

0 comments on commit d587fe6

Please sign in to comment.