Skip to content

Commit

Permalink
Merge pull request #49 from ipinfo/talhahwahla/fix-typo
Browse files Browse the repository at this point in the history
rm `HashSet`, fix typo
  • Loading branch information
talhahwahla authored Jan 1, 2024
2 parents e8748cf + 9b802f3 commit de4dd4f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/ipinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

use std::{
collections::{HashMap, HashSet},
num::NonZeroUsize,
time::Duration,
};
use std::{collections::HashMap, num::NonZeroUsize, time::Duration};

use crate::{
cache_key, is_bogon, Continent, CountryCurrency, CountryFlag, IpDetails,
Expand Down Expand Up @@ -238,7 +234,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 de4dd4f

Please sign in to comment.