Correct IoStream::set_keepalive for UDS

This commit is contained in:
Douman 2018-10-26 08:02:42 +03:00
parent 42d5d48e71
commit 309c800a35
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ impl IoStream for ::tokio_uds::UnixStream {
}
#[inline]
fn set_keepalive(&mut self, _nodelay: bool) -> io::Result<()> {
fn set_keepalive(&mut self, _dur: Option<time::Duration>) -> io::Result<()> {
Ok(())
}
}