mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
perf: Only do hex check if digits are in identifiers
This commit is contained in:
parent
a00831c847
commit
68cd36d0de
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ impl ParserBuilder {
|
|||
Parser {
|
||||
words_str,
|
||||
words_bytes,
|
||||
ignore_hex: self.ignore_hex,
|
||||
ignore_hex: self.ignore_hex && self.include_digits,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue