Fixed typo in std::vec
This commit is contained in:
parent
7a19a82d11
commit
ac170b100e
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ impl<T:Eq> Vec<T> {
|
|||
// +---+---+---+---+---+---+
|
||||
// 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:
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue