Permalink
Browse files

Fix documentation error in stableRemoveAny

  • Loading branch information...
1 parent ce83f49 commit 9d7168be5fc91da74231ab86d989ac6013280830 @andralex andralex committed Mar 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 std/container.d
View
@@ -152,8 +152,8 @@ $(TD Same as $(D c.stableInsert(v)) but relaxes complexity to linear.))
$(TR $(TDNW $(D c.removeAny())) $(TDNW $(D log n$(SUB c)))
$(TD Removes some element from $(D c) and returns it.))
-$(TR $(TDNW $(D c.stableRemoveAny(v))) $(TDNW $(D log n$(SUB c)))
-$(TD Same as $(D c.removeAny(v)), but is guaranteed to not invalidate any
+$(TR $(TDNW $(D c.stableRemoveAny())) $(TDNW $(D log n$(SUB c)))
+$(TD Same as $(D c.removeAny()), but is guaranteed to not invalidate any
iterators.))
$(TR $(TDNW $(D c.insertFront(v))) $(TDNW $(D log n$(SUB c)))

0 comments on commit 9d7168b

Please sign in to comment.