Skip to content

Commit de6985f

Browse files
authored
Replace removeFirst with removeHead in ArrayDeque documentation
1 parent aa6ef69 commit de6985f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/mutable/ArrayDeque.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import scala.reflect.ClassTag
2121

2222
/** An implementation of a double-ended queue that internally uses a resizable circular buffer.
2323
*
24-
* Append, prepend, removeFirst, removeLast and random-access (indexed-lookup and indexed-replacement)
24+
* Append, prepend, removeHead, removeLast and random-access (indexed-lookup and indexed-replacement)
2525
* take amortized constant time. In general, removals and insertions at i-th index are O(min(i, n-i))
2626
* and thus insertions and removals from end/beginning are fast.
2727
*

0 commit comments

Comments
 (0)