From 7a9fb1ac55d07c73798a33901c5bc06abaa127a4 Mon Sep 17 00:00:00 2001 From: Echo Date: Sat, 2 May 2026 21:30:12 +0000 Subject: [PATCH] style: fix mtls.rs indentation for cargo fmt compliance --- src/auth/mtls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/mtls.rs b/src/auth/mtls.rs index 3facddf..0578843 100644 --- a/src/auth/mtls.rs +++ b/src/auth/mtls.rs @@ -81,7 +81,7 @@ impl MtlsMiddleware { let config = ServerConfig::builder() .with_protocol_versions(&[&TLS13]) - .map_err(|e| MtlsError::ServerConfigError(format!("Failed to set TLS 1.3 only: {}", e)))? + .map_err(|e| MtlsError::ServerConfigError(format!("Failed to set TLS 1.3 only: {}", e)))? .with_client_cert_verifier(client_verifier) .with_single_cert(server_cert, server_key) .map_err(|e| MtlsError::ServerConfigError(e.to_string()))?;