Skip to content

Commit

Permalink
geocode: lang-lookup is constant per invocation, no need to include…
Browse files Browse the repository at this point in the history
… in cached key
  • Loading branch information
jqnatividad committed Nov 19, 2023
1 parent 395f637 commit 4a007ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/geocode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,7 @@ fn format_result(
/// It is used by the countryinfo/countryinfonow subcommands.
#[cached(
key = "String",
convert = r#"{ format!("{cell}-{lang_lookup}-{formatstr}") }"#,
convert = r#"{ format!("{cell}-{formatstr}") }"#,
option = true
)]
fn get_countryinfo(
Expand Down

0 comments on commit 4a007ae

Please sign in to comment.