Skip to content

Commit

Permalink
Fix an unused_must_use warning with the latest nightly, in tests (#2460)
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Jul 14, 2024
1 parent 8fedb78 commit 50e4283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/socket/addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2200,7 +2200,7 @@ mod tests {
sdl_slen: 0,
..unsafe { mem::zeroed() }
});
format!("{la}");
let _ = format!("{la}");
}

#[cfg(all(
Expand Down

0 comments on commit 50e4283

Please sign in to comment.