This commit is contained in:
Nikolay Kim 2020-04-23 10:52:28 +06:00
parent 13599ba064
commit b45e0b5d23

View file

@ -225,7 +225,7 @@ impl ServiceRuntime {
// let name = name.to_owned();
if let Some(token) = self.names.get(name) {
self.services.insert(
token.clone(),
*token,
Box::new(ServiceFactory {
inner: service.into_factory(),
}),