Skip to content

Commit

Permalink
Improve documentation on BufferLike::remove
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgiChochov authored May 12, 2018
1 parent 534a929 commit 64a1a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/collection/mutable/BufferLike.scala
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*
* @param n the index which refers to the element to delete.
* @return the previous element at index `n`
* @throws IndexOutOfBoundsException if the if the index `n` is not in the valid range
* @throws IndexOutOfBoundsException if the index `n` is not in the valid range
* `0 <= n < length`.
*/
def remove(n: Int): A
Expand Down

0 comments on commit 64a1a50

Please sign in to comment.