diff options
| author | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2021-10-16 09:45:05 +0200 |
|---|---|---|
| committer | Stefan Lankes <slankes@eonerc.rwth-aachen.de> | 2021-10-16 09:45:05 +0200 |
| commit | 2f4cbf003fdfcd9763c24f09bbe8aae829fbd060 (patch) | |
| tree | c27e3c665f42b09091618444125d05b714a2cfe5 /library/std/src | |
| parent | 7f34cedaef6b5fe1127e0ed95887e993125e3ca6 (diff) | |
| download | rust-2f4cbf003fdfcd9763c24f09bbe8aae829fbd060.tar.gz rust-2f4cbf003fdfcd9763c24f09bbe8aae829fbd060.zip | |
remove compiler warnings
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/hermit/net.rs | 2 |
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() } |
