Actualiza formato del código aplicando cargo fmt
This commit is contained in:
parent
4b5caf06a7
commit
e6ea59785e
75 changed files with 1069 additions and 1160 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue