mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-01 08:45:10 +02:00
make extractor config type explicit
This commit is contained in:
@ -89,6 +89,7 @@ impl<T> Clone for Data<T> {
|
||||
}
|
||||
|
||||
impl<T: 'static> FromRequest for Data<T> {
|
||||
type Config = ();
|
||||
type Error = Error;
|
||||
type Future = Result<Self, Error>;
|
||||
|
||||
@ -233,6 +234,7 @@ impl<T> Clone for RouteData<T> {
|
||||
}
|
||||
|
||||
impl<T: 'static> FromRequest for RouteData<T> {
|
||||
type Config = ();
|
||||
type Error = Error;
|
||||
type Future = Result<Self, Error>;
|
||||
|
||||
|
Reference in New Issue
Block a user