mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-18 23:15:32 +02:00
use owned value for service factory config
This commit is contained in:
@@ -125,7 +125,7 @@ where
|
||||
type InitError = T::InitError;
|
||||
type Future = ApplyTransformFuture<T, S>;
|
||||
|
||||
fn new_service(&self, cfg: &S::Config) -> Self::Future {
|
||||
fn new_service(&self, cfg: S::Config) -> Self::Future {
|
||||
ApplyTransformFuture {
|
||||
t_cell: self.t.clone(),
|
||||
fut_a: self.s.new_service(cfg),
|
||||
|
Reference in New Issue
Block a user