Skip to content

Commit

Permalink
Missed one unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Jun 16, 2024
1 parent 9a73230 commit 16d09be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ impl<'r> FromRequest<'r> for ClientHeaders {
type Error = &'static str;

async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error> {
let host = try_outcome!(Host::from_request(request).await).host;
let ip = match ClientIp::from_request(request).await {
Outcome::Success(ip) => ip,
_ => err_handler!("Error getting Client IP"),
Expand Down

0 comments on commit 16d09be

Please sign in to comment.