Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Sep 29, 2023
1 parent 9dc5dcb commit b5cbc8e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/cmd/geocode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,11 @@ struct NamesLang {
}

static QSV_VERSION: &str = env!("CARGO_PKG_VERSION");
static DEFAULT_GEOCODE_INDEX_FILENAME: &str =
concat!("qsv-", env!("CARGO_PKG_VERSION"), "-geocode-index-dev.bincode");
static DEFAULT_GEOCODE_INDEX_FILENAME: &str = concat!(
"qsv-",
env!("CARGO_PKG_VERSION"),
"-geocode-index-dev.bincode"
);

static DEFAULT_CITIES_NAMES_URL: &str =
"https://download.geonames.org/export/dump/alternateNamesV2.zip";
Expand Down Expand Up @@ -701,9 +704,9 @@ async fn geocode_main(args: Args) -> CliResult<()> {
let storage = storage::bincode::Storage::new();

match geocode_cmd {
// check if Geoname index needs to be updated from the Geonames website
// also returns the index file metadata as JSON
GeocodeSubCmd::IndexCheck => {
// check if Geoname index needs to be updated from the Geonames website
// also returns the index file metadata as JSON
GeocodeSubCmd::IndexCheck => {
winfo!("Checking main Geonames website for updates...");
check_index_file(&geocode_index_file)?;

Expand Down

0 comments on commit b5cbc8e

Please sign in to comment.