]> git.lizzy.rs Git - rust.git/commitdiff
Fixed typo in std::vec
authorAdolfo Ochagavía <aochagavia92@gmail.com>
Mon, 28 Apr 2014 13:39:11 +0000 (15:39 +0200)
committerAdolfo Ochagavía <aochagavia92@gmail.com>
Mon, 28 Apr 2014 13:39:11 +0000 (15:39 +0200)
src/libstd/vec.rs

index c5f3206d9d557342a72db5d3803ec8b4a0552504..aeb1bf555e818d77d06a4636bc576f86bf4cfe79 100644 (file)
@@ -1288,7 +1288,7 @@ pub fn dedup(&mut self) {
             //     +---+---+---+---+---+---+
             //           w
             //
-            // Comparing self[r] against self[w-1], tis is not a duplicate, so
+            // Comparing self[r] against self[w-1], this is not a duplicate, so
             // we swap self[r] and self[w] (no effect as r==w) and then increment both
             // r and w, leaving us with:
             //