clippy: adhere to pedantic clippy, uniform test error handling

This commit is contained in:
Per Stark
2026-05-26 11:43:45 +02:00
parent 6a5d631287
commit 000852c94c
68 changed files with 2468 additions and 2547 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ use crate::{
};
#[derive(Deserialize, Serialize)]
pub struct SignupParams {
pub struct Params {
pub email: String,
pub password: String,
pub timezone: String,
@@ -39,7 +39,7 @@ pub async fn show_signup_form(
pub async fn process_signup_and_show_verification(
State(state): State<HtmlState>,
auth: AuthSessionType,
Form(form): Form<SignupParams>,
Form(form): Form<Params>,
) -> Result<impl IntoResponse, HtmlError> {
let user = match User::create_new(
form.email,