| author | |
| committer | |
| log | f3f419d0b443380b13afb2bdc6847a18b6aff04e |
| tree | 833918f30d8c00817d4384fc75201aaf60153375 |
| parent | b88c536f4fec9ca806cce92cc9ca46a498f3ef93 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU (~clover) |
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-sol1 files changed, 1 insertions(+), 1 deletions(-)
crates/snowbound/src/web.rs+1-1| ... | ... | @@ -138,7 +138,7 @@ const FALLBACKS: [(&str, &[RangeInclusive<u32>]); 7] = [ |
| 138 | 138 | ), |
| 139 | 139 | ("NotoSansHebrew.ttf", &[0x590..=0x5ff, 0xfb1d..=0xfb4f]), |
| 140 | 140 | ("NotoSansDevanagari.ttf", &[0x900..=0x97f, 0xa8e0..=0xa8ff]), |
| 141 | ("NotoSansThai.ttf", &[0xe00..=0xe7f]), | |
| 141 | ("NotoSansThai.ttf", std::slice::from_ref(&(0xe00..=0xe7f))), | |
| 142 | 142 | ( |
| 143 | 143 | "NotoSansSymbols2-Regular.otf", |
| 144 | 144 | &[ |