mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-12 02:25:41 +00:00
chore: clippy lints
This commit is contained in:
@@ -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")]
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user