Skip to content

Commit 0190831

Browse files
authored
net: fix build error on master (#4361)
1 parent ee0e811 commit 0190831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/net/tcp/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ impl TcpSocket {
378378
///
379379
/// [`set_linger`]: TcpSocket::set_linger
380380
pub fn linger(&self) -> io::Result<Option<Duration>> {
381-
self.inner.get_linger()
381+
self.inner.linger()
382382
}
383383

384384
/// Gets the local address of this socket.

0 commit comments

Comments
 (0)