mirror of
https://github.com/go-task/task.git
synced 2026-06-28 15:14:18 +00:00
chore(deps): upgrade x/exp/slices (#1462)
This commit is contained in:
@@ -90,7 +90,7 @@ func (om *OrderedMap[K, V]) Sort() {
|
||||
}
|
||||
|
||||
// SortFunc will sort the map using the given function.
|
||||
func (om *OrderedMap[K, V]) SortFunc(less func(i, j K) bool) {
|
||||
func (om *OrderedMap[K, V]) SortFunc(less func(i, j K) int) {
|
||||
slices.SortFunc(om.s, less)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user