Skip to content

Commit

Permalink
remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
grantlemons committed Oct 3, 2024
1 parent e2c90a2 commit 9146953
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion harper-core/src/parsers/cases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ impl Parser for Cases {
.filter(|(_, _, _, st)| self.dict.contains_word_str(st))
.collect_vec();

// The indexes will be shifted after each removal, so this won't work
replacements.into_iter().for_each(|(s, e, t, _)| {
(s + 1..=e).for_each(|n| removal_indexes.push_front(n));
tokens[s] = t;
Expand Down

0 comments on commit 9146953

Please # to comment.