Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Feb 9, 2023
1 parent d64accd commit bb9fa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/datagen/src/transform/cldr/displaynames/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl TryFrom<&cldr_serde::region_displaynames::Resource> for RegionDisplayNamesV
if let Some(region) = region.strip_suffix(SHORT_SUBSTRING) {
short_names.insert(TinyAsciiStr::from_str(region)?, value.as_ref());
} else if !region.contains(ALT_SUBSTRING) {
names.insert(TinyAsciiStr::from_str(&region)?, value.as_ref());
names.insert(TinyAsciiStr::from_str(region)?, value.as_ref());
}
}
}
Expand Down

0 comments on commit bb9fa2f

Please sign in to comment.