Skip to content

Commit

Permalink
Fix an unused_must_use warning with the latest nightly, in tests (nix…
Browse files Browse the repository at this point in the history
asomers authored Jul 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -2200,7 +2200,7 @@ mod tests {
sdl_slen: 0,
..unsafe { mem::zeroed() }
});
format!("{la}");
let _ = format!("{la}");
}

#[cfg(all(

0 comments on commit 50e4283

Please sign in to comment.