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>
where
E: spoof::FromSpoofableRequestParts<S>,
S: Sync
S: Sync,
{
type Rejection = E::Rejection;

View file

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