test(renderer): satisfy clippy for glyph coverage

This commit is contained in:
Kayshen-X 2026-07-12 09:15:49 +08:00
parent a6bb3b24ac
commit 206bae5b2b

View file

@ -54,7 +54,7 @@ fn cyrillic_design_text_uses_covering_fallback_and_shared_resolver() {
.collect();
assert_eq!(rendered, TEXT, "segmentation must preserve the full text");
for segment in &segments {
if segment.text.chars().any(|c| !c.is_ascii()) {
if !segment.text.is_ascii() {
for c in segment.text.chars() {
assert_ne!(
segment.typeface.unichar_to_glyph(c as i32),