Skip to content

Commit 50e4283

Browse files
authored
Fix an unused_must_use warning with the latest nightly, in tests (#2460)
1 parent 8fedb78 commit 50e4283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/socket/addr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ mod tests {
22002200
sdl_slen: 0,
22012201
..unsafe { mem::zeroed() }
22022202
});
2203-
format!("{la}");
2203+
let _ = format!("{la}");
22042204
}
22052205

22062206
#[cfg(all(

0 commit comments

Comments
 (0)