chore: a few more minor lints

This commit is contained in:
Yuri Astrakhan 2025-01-21 19:52:17 -05:00 committed by Amaan Qureshi
parent 3e72969ce4
commit 3e7721e554
4 changed files with 5 additions and 5 deletions

View file

@ -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;