• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

unicode-org / icu4x / 16418162773

21 Jul 2025 01:21PM UTC coverage: 72.61% (+0.002%) from 72.608%
16418162773

push

github

web-flow
Fix several incorrect type inferences in sort key code (#6708)

These variables were int32_t in the C++ code, but during the port their
types got incorrectly inferred as u8, which can cause a panic on
overflow when processing a long string. I adjust them to usize, which is
Rust's idiom.

The narrowings to u8 should all be safe since we're operating with a
value that fits into a u8 at those points. (The same thing is happening
in the C++ too of course, but it's done silently by the compiler.)

13 of 29 new or added lines in 1 file covered. (44.83%)

5 existing lines in 5 files now uncovered.

59059 of 81337 relevant lines covered (72.61%)

459405.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

41.88
/components/datetime/src/pattern/names.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc