mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Remove B type param: Follow ups (#1789)
Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: Michael Scofield <[email protected]>
This commit is contained in:
co-authored by
Jonas Platte
Michael Scofield
parent
72c1b7a80c
commit
6703f8634c
@@ -1,7 +1,6 @@
|
||||
use axum::{
|
||||
async_trait,
|
||||
extract::FromRequest,
|
||||
http::Request,
|
||||
extract::{Request, FromRequest},
|
||||
};
|
||||
use axum_macros::debug_handler;
|
||||
|
||||
@@ -14,7 +13,7 @@ where
|
||||
{
|
||||
type Rejection = ();
|
||||
|
||||
async fn from_request(_req: Request<axum::body::Body>, _state: &S) -> Result<Self, Self::Rejection> {
|
||||
async fn from_request(_req: Request, _state: &S) -> Result<Self, Self::Rejection> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user