mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-18 11:55:36 +02:00
Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
@@ -131,9 +131,9 @@ where
|
||||
let service = endpoint_fut.await?;
|
||||
|
||||
// populate app data container from (async) data factories.
|
||||
async_data_factories.iter().for_each(|factory| {
|
||||
for factory in &async_data_factories {
|
||||
factory.create(&mut app_data);
|
||||
});
|
||||
}
|
||||
|
||||
Ok(AppInitService {
|
||||
service,
|
||||
|
Reference in New Issue
Block a user