correct some errors and omissions in stdlib doc comments

This commit is contained in:
Dmitry Jemerov
2015-05-28 14:38:36 +02:00
parent fa5aa664b5
commit 8f0f02fc59
8 changed files with 75 additions and 47 deletions
@@ -60,7 +60,7 @@ fun generators(): List<GenericFunction> {
templates add f("plus(array: Array<out T>)") {
exclude(Strings, Sequences)
doc { "Returns a list containing all elements of original collection and then all elements of the given [collection]." }
doc { "Returns a list containing all elements of original collection and then all elements of the given [array]." }
returns("List<T>")
body {
"""
@@ -108,8 +108,8 @@ fun generators(): List<GenericFunction> {
doc {
"""
Splits 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].
where *first* collection contains elements for which [predicate] yielded `true`,
while *second* collection contains elements for which [predicate] yielded `false`.
"""
}
// TODO: Sequence variant