Comply with the formatter

This commit is contained in:
Benjamin Sparks 2024-10-20 13:44:47 +02:00
parent 64fb7329c1
commit be7d83fd2b
2 changed files with 2 additions and 4 deletions

View file

@ -26,7 +26,7 @@ pub struct Spoofable<E>(pub E);
impl<S, E> FromRequestParts<S> for Spoofable<E> impl<S, E> FromRequestParts<S> for Spoofable<E>
where where
E: spoof::FromSpoofableRequestParts<S>, E: spoof::FromSpoofableRequestParts<S>,
S: Sync S: Sync,
{ {
type Rejection = E::Rejection; type Rejection = E::Rejection;

View file

@ -1,9 +1,7 @@
//! Extractor that parses the scheme of a request. //! Extractor that parses the scheme of a request.
//! See [`Scheme`] for more details. //! See [`Scheme`] for more details.
use axum:: use axum::response::{IntoResponse, Response};
response::{IntoResponse, Response}
;
use http::{ use http::{
header::{HeaderMap, FORWARDED}, header::{HeaderMap, FORWARDED},
request::Parts, request::Parts,