No bug - fix a comment in Move.h; irc-rs=Waldo DONTBUILD because comment fixes can't break anything...right?
authorNathan Froyd <froydnj@mozilla.com>
Fri, 07 Feb 2014 08:08:08 -0500
changeset 167843 42361f692255bff3db040f32bc623a8b912c3375
parent 167842 6165b393a42071eb5ff5d88a8576931f0eb96f78
child 167844 224e15123ae088f4d64d7eeb3bb8bfde260e21e6
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
milestone30.0a1
No bug - fix a comment in Move.h; irc-rs=Waldo DONTBUILD because comment fixes can't break anything...right?
mfbt/Move.h
--- a/mfbt/Move.h
+++ b/mfbt/Move.h
@@ -100,17 +100,17 @@ namespace mozilla {
  *     new(this) C(Move(rhs));
  *     return *this;
  *   }
  *
  * With that in place, one can write move assignments like this:
  *
  *   c2 = Move(c1);
  *
- * This destroys c1, moves c1's value to c2, and leaves c1 in an undefined but
+ * This destroys c2, moves c1's value to c2, and leaves c1 in an undefined but
  * destructible state.
  *
  * As we say, a move must leave the original in a "destructible" state. The
  * original's destructor will still be called, so if a move doesn't
  * actually steal all its resources, that's fine. We require only that the
  * move destination must take on the original's value; and that destructing
  * the original must not break the move destination.
  *