Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Aug 11, 2023
1 parent ab6ee56 commit b84063d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sort_before_1_21.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package tzf

import (
"golang.org/x/exp/constraints"
"golang.org/x/exp/slices"
)

func sort(x S) {
func sortSort[E constraints.Ordered](x []E) {
slices.Sort(x)
}

0 comments on commit b84063d

Please sign in to comment.