From bfb42a9a925c6141b419e3f34e73c498a220063e Mon Sep 17 00:00:00 2001 From: talhahwahla Date: Mon, 1 Jan 2024 11:48:04 +0500 Subject: [PATCH] rm `HashSet`, fix typo --- src/ipinfo.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipinfo.rs b/src/ipinfo.rs index b609696..1c0a5df 100644 --- a/src/ipinfo.rs +++ b/src/ipinfo.rs @@ -13,7 +13,7 @@ // limitations under the License. use std::{ - collections::{HashMap, HashSet}, + collections::HashMap, num::NonZeroUsize, time::Duration, }; @@ -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