Correct parameter reference in copyInto docs

This commit is contained in:
Ilya Gorbunov
2018-10-18 22:50:46 +03:00
parent ebe9d59df7
commit 7fc6f06b70
5 changed files with 32 additions and 32 deletions
@@ -507,7 +507,7 @@ object ArrayOps : TemplateGroupBase() {
@param endIndex the end (exclusive) of the subrange to copy, size of this array by default.
@throws IndexOutOfBoundsException or [IllegalArgumentException] when [startIndex] or [endIndex] is out of range of this array indices or when `startIndex > endIndex`.
@throws IndexOutOfBoundsException when the subrange doesn't fit into the [destination] array starting at the specified [destinationIndex],
@throws IndexOutOfBoundsException when the subrange doesn't fit into the [destination] array starting at the specified [destinationOffset],
or when that index is out of the [destination] array indices range.
@return the [destination] array.