Skip to content

Commit

Permalink
rm HashSet, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
talhahwahla committed Jan 1, 2024
1 parent e8748cf commit bfb42a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

use std::{
collections::{HashMap, HashSet},
collections::HashMap,
num::NonZeroUsize,
time::Duration,
};
Expand Down Expand Up @@ -238,7 +238,7 @@ impl IpInfo {
// Make batched requests
for batch in work.chunks(batch_config.batch_size as usize) {
let response = self.batch_request(client.clone(), batch).await?;
results.extend(resposne);
results.extend(response);
}

// Add country_name and EU status to response
Expand Down

0 comments on commit bfb42a9

Please sign in to comment.