authorclover caruso <git@paperclover.net> 2026-10-10 22:26:59-07:00
committerclover caruso <git@paperclover.net> 2026-10-10 22:56:06-07:00
logf3f419d0b443380b13afb2bdc6847a18b6aff04e
tree833918f30d8c00817d4384fc75201aaf60153375
parentb88c536f4fec9ca806cce92cc9ca46a498f3ef93
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU (~clover)

chore: spell the single Thai font range as a slice

Use slice::from_ref for the intentional one-range fallback list, avoiding Rust 1.99 Clippy interpreting it as an uncollected character range. Assisted-by: gpt-6.1-sol

1 files changed, 1 insertions(+), 1 deletions(-)

crates/snowbound/src/web.rs+1-1
......@@ -138,7 +138,7 @@ const FALLBACKS: [(&str, &[RangeInclusive<u32>]); 7] = [
138138 ),
139139 ("NotoSansHebrew.ttf", &[0x590..=0x5ff, 0xfb1d..=0xfb4f]),
140140 ("NotoSansDevanagari.ttf", &[0x900..=0x97f, 0xa8e0..=0xa8ff]),
141 ("NotoSansThai.ttf", &[0xe00..=0xe7f]),
141 ("NotoSansThai.ttf", std::slice::from_ref(&(0xe00..=0xe7f))),
142142 (
143143 "NotoSansSymbols2-Regular.otf",
144144 &[