Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 6043890

Browse files
committed
fix formatting errors
1 parent 899c186 commit 6043890

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/zinit/ord.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ pub async fn service_dependency_order(services: Arc<RwLock<ServiceTable>>) -> Pr
1616
for (name, service) in table.iter() {
1717
let service = service.read().await;
1818
for child in service.service.after.iter() {
19-
children
20-
.entry(name.into())
21-
.or_default()
22-
.push(child.into());
19+
children.entry(name.into()).or_default().push(child.into());
2320
*indegree.entry(child.into()).or_insert(0) += 1;
2421
}
2522
}

0 commit comments

Comments
 (0)