Skip to content

Commit

Permalink
remove compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Oct 16, 2021
1 parent 7f34ced commit 2f4cbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/hermit/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl TcpStream {
Ok(self.clone())
}

pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> {
pub fn set_linger(&self, _linger: Option<Duration>) -> io::Result<()> {
unsupported()
}

Expand Down

0 comments on commit 2f4cbf0

Please sign in to comment.