Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tomplex committed Aug 10, 2023
1 parent 64d54cc commit 049f8b4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/geocoders/libpostal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ impl LibPostal {
/// "Prime" libpostal by forcing it to load its language model and associated data
/// into memory with a dummy call.
let libpostal = LibPostal::new();
let _ = libpostal.geocode_addresses(&[Address {
street: "1 Main St".to_owned(),
city: Some("Anytown".to_owned()),
state: Some("VT".to_owned()),
zipcode: None,
}]).await;
let _ = libpostal
.geocode_addresses(&[Address {
street: "1 Main St".to_owned(),
city: Some("Anytown".to_owned()),
state: Some("VT".to_owned()),
zipcode: None,
}])
.await;
}
}

Expand Down

0 comments on commit 049f8b4

Please sign in to comment.