Skip to content

net: fix build error on master#4361

Merged
Darksonn merged 1 commit intomasterfrom
taiki-e/ci
Dec 31, 2021
Merged

net: fix build error on master#4361
Darksonn merged 1 commit intomasterfrom
taiki-e/ci

Conversation

@taiki-e
Copy link
Copy Markdown
Member

@taiki-e taiki-e commented Dec 31, 2021

This fixes CI failure on master: https://github.com/tokio-rs/tokio/actions/runs/1639606619

TcpSocket::linger has been added in #4324 (2 weeks ago), but #4270 was last edited a month ago, so missed this change.

error[E0599]: no method named `get_linger` found for struct `Socket` in the current scope
   --> tokio/src/net/tcp/socket.rs:381:20
    |
381 |         self.inner.get_linger()
    |                    ^^^^^^^^^^ help: there is an associated function with a similar name: `set_linger`

@Darksonn Darksonn merged commit 0190831 into master Dec 31, 2021
@Darksonn Darksonn deleted the taiki-e/ci branch December 31, 2021 10:21
taiki-e added a commit that referenced this pull request Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ci Area: The continuous integration setup A-tokio Area: The main tokio crate M-net Module: tokio/net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants