Fixed typo in std::vec
This commit is contained in:
@@ -1288,7 +1288,7 @@ impl<T:Eq> Vec<T> {
|
|||||||
// +---+---+---+---+---+---+
|
// +---+---+---+---+---+---+
|
||||||
// w
|
// 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
|
// we swap self[r] and self[w] (no effect as r==w) and then increment both
|
||||||
// r and w, leaving us with:
|
// r and w, leaving us with:
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user