style: cargo fmt
All checks were successful
CI / Check / Test (push) Successful in 3m1s
Architecture Docs / Generate diagrams (push) Successful in 2m43s

This commit is contained in:
2026-06-17 13:44:19 +02:00
parent a24dc572bd
commit 009c821f48
14 changed files with 1834 additions and 51 deletions

View File

@@ -97,7 +97,11 @@ fn render_module(graph: &CodeGraph) -> String {
}
for (src, tgt) in graph.module_edges().keys() {
lines.push(format!("{} -> {}", sanitize_identifier(src), sanitize_identifier(tgt)));
lines.push(format!(
"{} -> {}",
sanitize_identifier(src),
sanitize_identifier(tgt)
));
}
lines.join("\n")
@@ -113,7 +117,11 @@ fn render_project(graph: &CodeGraph) -> String {
let mod_id = sanitize_identifier(module);
lines.push(format!("{mod_id}: {{"));
for el in elements {
lines.push(format!(" {}: {}", sanitize_identifier(el.name()), el.name()));
lines.push(format!(
" {}: {}",
sanitize_identifier(el.name()),
el.name()
));
}
lines.push("}".to_string());
}