Skip to content

Commit 5e9c8b6

Browse files
authored
Merge pull request scala/scala#6634 from GeorgiChochov/patch-1
Improve documentation on BufferLike::remove
2 parents d8e2f13 + 13b92ca commit 5e9c8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/mutable/BufferLike.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
100100
*
101101
* @param n the index which refers to the element to delete.
102102
* @return the previous element at index `n`
103-
* @throws IndexOutOfBoundsException if the if the index `n` is not in the valid range
103+
* @throws IndexOutOfBoundsException if the index `n` is not in the valid range
104104
* `0 <= n < length`.
105105
*/
106106
def remove(n: Int): A

0 commit comments

Comments
 (0)