From 2b2644b0a406a537cd7d9b6da1a2deb0578041c7 Mon Sep 17 00:00:00 2001 From: akarras Date: Fri, 2 Feb 2024 22:39:06 -0700 Subject: [PATCH] unused error --- ultros/src/web/country_code_decoder.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ultros/src/web/country_code_decoder.rs b/ultros/src/web/country_code_decoder.rs index 0d95836b..166fb0fd 100644 --- a/ultros/src/web/country_code_decoder.rs +++ b/ultros/src/web/country_code_decoder.rs @@ -8,7 +8,6 @@ use axum::{ }; use axum_extra::{headers::Header, typed_header::TypedHeaderRejection, TypedHeader}; use isocountry::CountryCode; -use thiserror::Error; #[derive(Debug, Copy, Clone)] pub(crate) enum Region { @@ -26,11 +25,6 @@ impl IntoResponse for Region { } } -#[derive(Error, Debug)] -enum CountryCodeError { - #[error("Country code was not found")] - NotFound, -} struct CloudflareCountryCode(CountryCode);