chore: a few more minor lints
This commit is contained in:
parent
3e72969ce4
commit
3e7721e554
4 changed files with 5 additions and 5 deletions
|
|
@ -873,7 +873,7 @@ impl Generator {
|
|||
&& chars.ranges().all(|r| {
|
||||
let start = *r.start() as u32;
|
||||
let end = *r.end() as u32;
|
||||
end <= start + 1 && end <= u16::MAX as u32
|
||||
end <= start + 1 && u16::try_from(end).is_ok()
|
||||
})
|
||||
{
|
||||
leading_simple_transition_count += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue