From 03580622db55d947643dd33572193436b1a96570 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 30 Dec 2024 09:24:58 +0100 Subject: [PATCH] fix(bsd): format string with format args (#59) --- src/bsd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsd.rs b/src/bsd.rs index d12fcfb..42445e8 100644 --- a/src/bsd.rs +++ b/src/bsd.rs @@ -187,7 +187,7 @@ fn sockaddr_len(af: AddressFamily) -> Result { _ => { return Err(Error::new( ErrorKind::InvalidInput, - "Unsupported address family {af:?}", + format!("Unsupported address family {af:?}"), )) } };