apply rustfmt

This commit is contained in:
Frederic Laing 2025-11-12 20:26:29 +01:00 committed by Jeremy Soller
parent a29c1a9162
commit b12f922df9

View file

@ -51,13 +51,15 @@ fn main() {
auth_message_type: AuthMessageType::Secret,
auth_message: "MOCKING:".to_string(),
},
Request::PostAuthMessageResponse { response } => match response.as_deref() {
Some("password") => Response::Success,
_ => Response::Error {
error_type: ErrorType::AuthError,
description: "AUTH_ERR".to_string(),
},
},
Request::PostAuthMessageResponse { response } => {
match response.as_deref() {
Some("password") => Response::Success,
_ => Response::Error {
error_type: ErrorType::AuthError,
description: "AUTH_ERR".to_string(),
},
}
}
Request::StartSession { .. } => Response::Success,
Request::CancelSession => Response::Success,
};