Skip to content

UDP and TCP methods should take &mut self to reflect that libuv may change the underlying handle. #7892

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

Closed
wants to merge 1 commit into from

Conversation

anasazi
Copy link
Contributor

@anasazi anasazi commented Jul 18, 2013

TCP methods already did this, but the UDP methods and the socket control functions on TCP/UDP did not.

…eflect that libuv may change the underlying handle.
@anasazi
Copy link
Contributor Author

anasazi commented Jul 19, 2013

r? @brson

@anasazi anasazi closed this Jul 19, 2013
@anasazi anasazi deleted the fix_udp_mut branch July 19, 2013 20:05
@anasazi
Copy link
Contributor Author

anasazi commented Jul 19, 2013

The pull request of incomplete so I closed and resubmitted.

flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 4, 2021
Disable "if_not_else" lints from firing on else-ifs

Fixes rust-lang#7892

1. Convert `['if_not_else']` to `LateLintPass` and use `clippy_utils::is_else_clause` for checking.
2. Update tests.

changelog: [`if_not_else`] now ignores else if statements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant