Comparator<T> replaced with Comparator<in T> #KT-6030 Fixed

This commit is contained in:
Ilya Ryzhenkov
2014-11-05 18:18:16 +03:00
parent 24ee79aa2d
commit c2fabf5736
3 changed files with 5 additions and 5 deletions
@@ -161,7 +161,7 @@ fun ordering(): List<GenericFunction> {
exclude(Strings)
}
templates add f("sortBy(comparator: Comparator<T>)") {
templates add f("sortBy(comparator: Comparator<in T>)") {
doc {
"""
Returns a list of all elements, sorted by the specified *comparator*