Skip to content

Commit

Permalink
Fix LocaleExpander::try_new_with_any_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Aug 3, 2023
1 parent d1f5ff0 commit b91de52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/locid_transform/src/expander.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ impl LocaleExpander {

let (likely_subtags_l, likely_subtags_sr, likely_subtags_ext) =
match (payload_l, payload_sr, payload_ext) {
(Ok(l), Ok(sr), Err(_)) => (l, sr, None),
(Ok(l), Ok(sr), Ok(ext)) => (l, sr, Some(ext)),
_ => {
let result: DataPayload<LikelySubtagsV1Marker> =
Expand Down

0 comments on commit b91de52

Please sign in to comment.