chore(deps): upgrade x/exp/slices (#1462)

This commit is contained in:
Andrey Nering
2024-01-10 22:02:05 -03:00
committed by GitHub
parent 7393821d64
commit d797836cb8
4 changed files with 12 additions and 6 deletions

View File

@@ -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)
}