mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-11 17:30:44 +01:00
Comply with the formatter
This commit is contained in:
parent
64fb7329c1
commit
be7d83fd2b
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue