diff --git a/xpcom/ds/nsDeque.cpp b/xpcom/ds/nsDeque.cpp index 21848ab8645c..7a4d32006e92 100644 --- a/xpcom/ds/nsDeque.cpp +++ b/xpcom/ds/nsDeque.cpp @@ -350,7 +350,7 @@ nsDequeIterator nsDeque::End(void) const{ } /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. * @@ -367,7 +367,7 @@ void nsDeque::ForEach(nsDequeFunctor& aFunctor) const{ } /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. Iteration continues until your * functor returns a non-null. @@ -538,7 +538,7 @@ void* nsDequeIterator::GetCurrent(void) { } /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. * @@ -551,7 +551,7 @@ void nsDequeIterator::ForEach(nsDequeFunctor& aFunctor) const{ } /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. * diff --git a/xpcom/ds/nsDeque.h b/xpcom/ds/nsDeque.h index 9716ad2f0cf4..38d24801482d 100644 --- a/xpcom/ds/nsDeque.h +++ b/xpcom/ds/nsDeque.h @@ -205,7 +205,7 @@ friend class nsDequeIterator; /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. * @@ -216,7 +216,7 @@ friend class nsDequeIterator; void ForEach(nsDequeFunctor& aFunctor) const; /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. This process will interupt if * your function returns a null to this iterator. @@ -406,7 +406,7 @@ public: void* GetCurrent(void); /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. * @@ -417,7 +417,7 @@ public: void ForEach(nsDequeFunctor& aFunctor) const; /** - * Call this method when you wanto to iterate all the + * Call this method when you want to to iterate all the * members of the container, passing a functor along * to call your code. *