1
0
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:
Nikolay Kim
2019-03-10 10:53:56 -07:00
parent ee8725b581
commit 16c42be4a2
11 changed files with 1086 additions and 91 deletions

View File

@ -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 {