Run rustfmt

This commit is contained in:
Tristan D. 2025-04-15 01:00:23 +02:00
parent 9dc4cc6c37
commit ffa1dc5a7b
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4

View file

@ -224,7 +224,10 @@ pub fn folder_router(attr: TokenStream, item: TokenStream) -> TokenStream {
} }
// Build module tree // Build module tree
let mut root = ModuleDir::new(&format!("__folder_router_{}", replace_special_chars(&base_path))); let mut root = ModuleDir::new(&format!(
"__folder_router_{}",
replace_special_chars(&base_path)
));
for (route_path, rel_path) in &routes { for (route_path, rel_path) in &routes {
add_to_module_tree(&mut root, rel_path, route_path); add_to_module_tree(&mut root, rel_path, route_path);
} }