summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDick Wall <dick@bldc.org>2015-04-05 20:08:07 -0700
committerDick Wall <dick@bldc.org>2015-04-05 20:08:07 -0700
commit293625e7bb685514ce82a0400bbd7ba5708d6553 (patch)
tree0f0d1be5419c90d624b0a60a0fd48558756229c0
parentebf0976c363c67e6a46c66d70b39704f1ce5e74a (diff)
parentcc760b54a0aa6864574ad585fad0071934d2307e (diff)
downloadscala-293625e7bb685514ce82a0400bbd7ba5708d6553.tar.gz
scala-293625e7bb685514ce82a0400bbd7ba5708d6553.tar.bz2
scala-293625e7bb685514ce82a0400bbd7ba5708d6553.zip
Merge pull request #4430 from shadaj/patch-1
Fix a typo in PriorityQueue scaladoc
-rw-r--r--src/library/scala/collection/mutable/PriorityQueue.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/PriorityQueue.scala b/src/library/scala/collection/mutable/PriorityQueue.scala
index d3c4161e3b..619beeb1d6 100644
--- a/src/library/scala/collection/mutable/PriorityQueue.scala
+++ b/src/library/scala/collection/mutable/PriorityQueue.scala
@@ -16,7 +16,7 @@ import generic._
* To prioritize elements of type A there must be an implicit
* Ordering[A] available at creation.
*
- * Only the `dequeue` and `dequeueAll` methods will return methods in priority
+ * Only the `dequeue` and `dequeueAll` methods will return elements in priority
* order (while removing elements from the heap). Standard collection methods
* including `drop` and `iterator` will remove or traverse the heap in whichever
* order seems most convenient.