Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: fix build error on master #4361

Merged
merged 1 commit into from Dec 31, 2021
Merged

net: fix build error on master #4361

merged 1 commit into from Dec 31, 2021

Conversation

taiki-e
Copy link
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.

None yet

2 participants