Skip to content

Commit

Permalink
unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
akarras committed Feb 3, 2024
1 parent 2b04f8d commit 2b2644b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ultros/src/web/country_code_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -26,11 +25,6 @@ impl IntoResponse for Region {
}
}

#[derive(Error, Debug)]
enum CountryCodeError {
#[error("Country code was not found")]
NotFound,
}

struct CloudflareCountryCode(CountryCode);

Expand Down

0 comments on commit 2b2644b

Please sign in to comment.