chore: clippy lints

This commit is contained in:
Aravinth Manivannan
2023-10-16 21:33:39 +05:30
parent 0e75a22beb
commit 4e2758f415
10 changed files with 14 additions and 28 deletions

View File

@@ -22,7 +22,7 @@ impl Default for IndexPage {
}
lazy_static! {
static ref INDEX: String = IndexPage::default().render_once().unwrap();
static ref INDEX: String = IndexPage.render_once().unwrap();
}
#[get(path = "PAGES.auth.login")]

View File

@@ -20,7 +20,7 @@ impl Default for IndexPage {
}
lazy_static! {
static ref INDEX: String = IndexPage::default().render_once().unwrap();
static ref INDEX: String = IndexPage.render_once().unwrap();
}
#[my_codegen::get(path = "crate::PAGES.auth.join")]