about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorStefan Lankes <slankes@eonerc.rwth-aachen.de>2021-10-16 09:45:05 +0200
committerStefan Lankes <slankes@eonerc.rwth-aachen.de>2021-10-16 09:45:05 +0200
commit2f4cbf003fdfcd9763c24f09bbe8aae829fbd060 (patch)
treec27e3c665f42b09091618444125d05b714a2cfe5 /library/std/src
parent7f34cedaef6b5fe1127e0ed95887e993125e3ca6 (diff)
downloadrust-2f4cbf003fdfcd9763c24f09bbe8aae829fbd060.tar.gz
rust-2f4cbf003fdfcd9763c24f09bbe8aae829fbd060.zip
remove compiler warnings
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sys/hermit/net.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/hermit/net.rs b/library/std/src/sys/hermit/net.rs
index 880ef678a4f..1a6b3bc63e6 100644
--- a/library/std/src/sys/hermit/net.rs
+++ b/library/std/src/sys/hermit/net.rs
@@ -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()
     }