mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-26 10:14:48 +02:00
use owned value for service factory config
This commit is contained in:
@@ -55,7 +55,7 @@ where
|
||||
type InitError = E;
|
||||
type Future = MapInitErrFuture<A, F, E>;
|
||||
|
||||
fn new_service(&self, cfg: &A::Config) -> Self::Future {
|
||||
fn new_service(&self, cfg: A::Config) -> Self::Future {
|
||||
MapInitErrFuture::new(self.a.new_service(cfg), self.f.clone())
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user