Unify withIndex docs wording
This commit is contained in:
@@ -31,7 +31,10 @@ object Mapping : TemplateGroupBase() {
|
||||
include(CharSequences, ArraysOfUnsigned)
|
||||
} builder {
|
||||
doc {
|
||||
"Returns a ${if (f == Sequences) f.mapResult else "lazy [Iterable]"} of [IndexedValue] for each ${f.element} of the original ${f.collection}."
|
||||
"""
|
||||
Returns a ${if (f == Sequences) f.mapResult else "lazy [Iterable]"} that wraps each ${f.element} of the original ${f.collection}
|
||||
into an [IndexedValue] containing the index of that ${f.element} and the ${f.element} itself.
|
||||
"""
|
||||
}
|
||||
returns("Iterable<IndexedValue<T>>")
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user