Fix docs for String.partition

#KT-8493 Fixed
This commit is contained in:
Ilya Gorbunov
2015-07-15 18:42:59 +03:00
parent fbd0c16551
commit 8ac613dd67
2 changed files with 22 additions and 15 deletions
@@ -339,7 +339,7 @@ fun generators(): List<GenericFunction> {
doc {
"""
Splits original collection into pair of collections,
Splits the original collection into pair of collections,
where *first* collection contains elements for which [predicate] yielded `true`,
while *second* collection contains elements for which [predicate] yielded `false`.
"""
@@ -361,6 +361,13 @@ fun generators(): List<GenericFunction> {
"""
}
doc(Strings) {
"""
Splits the original string into pair of strings,
where *first* string contains characters for which [predicate] yielded `true`,
while *second* string contains characters for which [predicate] yielded `false`.
"""
}
returns(Strings) { "Pair<String, String>" }
body(Strings) {
"""