Skip to content

Commit

Permalink
pattern_generation: remove useless reassignment
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rckh committed Aug 19, 2022
1 parent a06e846 commit 9cf0aeb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/patterns.rs
Expand Up @@ -110,7 +110,6 @@ impl Iterator for TokenIter {
continue
}

inc_next = true;
*cur = *start;

if current_tok == self.repeat_len {
Expand All @@ -131,7 +130,6 @@ impl Iterator for TokenIter {
continue;
}

inc_next = true;
*cur = 0;

if current_tok == self.repeat_len {
Expand Down

0 comments on commit 9cf0aeb

Please sign in to comment.