From bef4cb0639e12790305f7100f5fa205a33d469b7 Mon Sep 17 00:00:00 2001 From: yeoleobun Date: Tue, 24 Feb 2026 09:14:19 +0800 Subject: [PATCH] fix fmt checking --- src/transport/connection.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/transport/connection.rs b/src/transport/connection.rs index 88c0d38..1d84ce2 100644 --- a/src/transport/connection.rs +++ b/src/transport/connection.rs @@ -352,9 +352,7 @@ impl SipConnection { _ => received.host.to_string(), }; *via = typed_via - .with_param(Param::Received(rsip::param::Received::new( - received_str, - ))) + .with_param(Param::Received(rsip::param::Received::new(received_str))) .with_param(Param::Other( rsip::param::OtherParam::new("rport"), Some(rsip::param::OtherParamValue::new(addr.port().to_string())),