mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
remove compiler warnings
This commit is contained in:
@@ -182,7 +182,7 @@ pub fn duplicate(&self) -> io::Result<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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user