From b12f922df97b5b6173717a24f97a8504f965ee99 Mon Sep 17 00:00:00 2001 From: Frederic Laing Date: Wed, 12 Nov 2025 20:26:29 +0100 Subject: [PATCH] apply rustfmt --- examples/server.rs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/server.rs b/examples/server.rs index 5aaa01c..b9f4ae6 100644 --- a/examples/server.rs +++ b/examples/server.rs @@ -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, };