mirror of
https://github.com/actix/actix-extras.git
synced 2025-07-01 12:15:08 +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