Skip to content

Commit

Permalink
Revert "net: fix build error on master (#4361)"
Browse files Browse the repository at this point in the history
This reverts commit 0190831.
  • Loading branch information
taiki-e committed Jan 11, 2022
1 parent 5772cf3 commit bd45c42
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.linger()
self.inner.get_linger()
}

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

0 comments on commit bd45c42

Please sign in to comment.