Skip to content

Commit

Permalink
Update provider/datagen/src/transform/cldr/datetime/neo.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Shane F. Carr <shane@unicode.org>
  • Loading branch information
Manishearth and sffc authored Nov 1, 2023
1 parent 1b41735 commit 45efd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/datagen/src/transform/cldr/datetime/neo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ fn apply_numeric_overrides(lp: &ca::LengthPattern, pattern: &mut pattern::runtim
// only replace numeric items
if field.length != FieldLength::One {
assert!(
field.length != FieldLength::TwoDigit || symbol_to_replace.is_some(),
field.length != FieldLength::TwoDigit || symbol_to_replace != Some(symbol),
"We don't know what to do when there is a non-targeted numeric override \
on a two-digit numeric field"
);
Expand Down

0 comments on commit 45efd76

Please sign in to comment.