Actualiza formato del código aplicando cargo fmt

This commit is contained in:
Manuel Cillero 2022-07-20 00:01:01 +02:00
parent 4b5caf06a7
commit e6ea59785e
75 changed files with 1069 additions and 1160 deletions

View file

@ -27,9 +27,7 @@ impl ModuleTrait for Node {
}
fn actions(&self) -> Vec<HookAction> {
vec![
hook_action!(BeforeRenderPageHook => before_render_page, -1)
]
vec![hook_action!(BeforeRenderPageHook => before_render_page, -1)]
}
fn migrations(&self) -> Vec<MigrationItem> {
@ -43,11 +41,7 @@ impl ModuleTrait for Node {
}
async fn node() -> app::Result<Markup> {
Page::new()
.with_title(
"Nodo"
)
.render()
Page::new().with_title("Nodo").render()
}
fn before_render_page(page: &mut Page) {