remove history.ReverseCorrespondents in favor of generics

This commit is contained in:
Shivaram Lingamneni 2022-05-03 02:45:36 -04:00
parent 66bf6244f3
commit c87dead39b
3 changed files with 7 additions and 12 deletions

View file

@ -964,7 +964,7 @@ func (mysql *MySQL) listCorrespondentsInternal(ctx context.Context, target strin
}
if !ascending {
history.ReverseCorrespondents(results)
utils.ReverseSlice(results)
}
return