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

unicode-org / icu4x / 14408199715

11 Apr 2025 04:57PM UTC coverage: 73.014% (-0.01%) from 73.027%
14408199715

push

github

web-flow
Simplify EraYear (#6443)

This removes the duplication between `standard_era` and
`formatting_era`.

Effectively, whenever `formatting_era` is `FormattingEra::Code`, it is
the same code as `standard_era`, so it could just be `Option<(u8,
TinyStr16)>`. But the fallback era name isn't really needed, as it's
always the same as code up to capitalization, and we don't really care
about capitalization in gigo paths.

The new `era_index` field can be documented without deferring to
whatever datagen does.

37 of 42 new or added lines in 19 files covered. (88.1%)

3 existing lines in 3 files now uncovered.

57914 of 79319 relevant lines covered (73.01%)

468273.26 hits per line

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

7.69
/components/datetime/src/error.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