mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 08:38:16 +02:00
Expose factory traits and some clippy fixes (#983)
This commit is contained in:
committed by
Nikolay Kim
parent
c01611d8b5
commit
32718b7e31
@@ -426,7 +426,7 @@ where
|
||||
fn into_new_service(self) -> T {
|
||||
*self.factory_ref.borrow_mut() = Some(ResourceFactory {
|
||||
routes: self.routes,
|
||||
data: self.data.map(|data| Rc::new(data)),
|
||||
data: self.data.map(Rc::new),
|
||||
default: self.default,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user