mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-03 01:56:38 +02:00
Fix clippy::rc_buffer (#1728)
This commit is contained in:
@@ -459,8 +459,8 @@ where
|
||||
{
|
||||
fn into_factory(self) -> AppInit<T, B> {
|
||||
AppInit {
|
||||
data: Rc::new(self.data),
|
||||
data_factories: Rc::new(self.data_factories),
|
||||
data: self.data.into_boxed_slice().into(),
|
||||
data_factories: self.data_factories.into_boxed_slice().into(),
|
||||
endpoint: self.endpoint,
|
||||
services: Rc::new(RefCell::new(self.services)),
|
||||
external: RefCell::new(self.external),
|
||||
|
Reference in New Issue
Block a user