Skip to content

Commit 2f4cbf0

Browse files
committed
remove compiler warnings
1 parent 7f34ced commit 2f4cbf0

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/hermit

1 file changed

+1
-1
lines changed

library/std/src/sys/hermit/net.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl TcpStream {
182182
Ok(self.clone())
183183
}
184184

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

0 commit comments

Comments
 (0)