From 50e4283b35f3f34e138d138fd889f7e3c424a5c2 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 14 Jul 2024 17:58:59 -0600 Subject: [PATCH] Fix an unused_must_use warning with the latest nightly, in tests (#2460) --- src/sys/socket/addr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs index aa89ba9723..811f6f5636 100644 --- a/src/sys/socket/addr.rs +++ b/src/sys/socket/addr.rs @@ -2200,7 +2200,7 @@ mod tests { sdl_slen: 0, ..unsafe { mem::zeroed() } }); - format!("{la}"); + let _ = format!("{la}"); } #[cfg(all(