Skip to content

Commit

Permalink
refactor: by clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Aug 29, 2024
1 parent ec3117b commit 520f5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rule/available/email/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl<'a> Cursor<'a> {
current_usize = last_usize;
self.char.next();
}
Some((last_usize, _)) => {
Some((_, _)) => {
let name = &self.email_str[start_usize..current_usize + 1];
let token = EmailToken::DomainPart(name.to_string());
self.token.push(token.clone());
Expand Down

0 comments on commit 520f5d5

Please sign in to comment.