Skip to content

Commit

Permalink
I forgot to uncomment jp
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Dec 4, 2024
1 parent 665a0a1 commit ccfc7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skystreamer-prometheus-exporter/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn handle_language(lang: &str) -> Option<String> {
// for some reason, langtag::Language::new("jp") is still a valid language
// shouldn't it be converted to "ja"?
// wtf?
let special_cases = [/* ("jp", "ja"), */ ("angika", "anp")];
let special_cases = [("jp", "ja"), ("angika", "anp")];
let lang = special_cases
.iter()
.find_map(|(from, to)| {
Expand Down

0 comments on commit ccfc7c4

Please sign in to comment.