Skip to content

Commit

Permalink
net: fix build error on master (#4361)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 31, 2021
1 parent ee0e811 commit 0190831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/net/tcp/socket.rs
Expand Up @@ -378,7 +378,7 @@ impl TcpSocket {
///
/// [`set_linger`]: TcpSocket::set_linger
pub fn linger(&self) -> io::Result<Option<Duration>> {
self.inner.get_linger()
self.inner.linger()
}

/// Gets the local address of this socket.
Expand Down

0 comments on commit 0190831

Please sign in to comment.