mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
net: fix build error on master (#4361)
This commit is contained in:
parent
ee0e811a36
commit
0190831ec1
@ -378,7 +378,7 @@ impl TcpSocket {
|
|||||||
///
|
///
|
||||||
/// [`set_linger`]: TcpSocket::set_linger
|
/// [`set_linger`]: TcpSocket::set_linger
|
||||||
pub fn linger(&self) -> io::Result<Option<Duration>> {
|
pub fn linger(&self) -> io::Result<Option<Duration>> {
|
||||||
self.inner.get_linger()
|
self.inner.linger()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets the local address of this socket.
|
/// Gets the local address of this socket.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user