mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-27 07:19:04 +02:00
simplify extractor configuration, config is optional now
This commit is contained in:
@ -145,7 +145,6 @@ struct IdentityItem {
|
||||
impl<P> FromRequest<P> for Identity {
|
||||
type Error = Error;
|
||||
type Future = Result<Identity, Error>;
|
||||
type Config = ();
|
||||
|
||||
#[inline]
|
||||
fn from_request(req: &mut ServiceFromRequest<P>) -> Self::Future {
|
||||
|
Reference in New Issue
Block a user