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

Actually block in a windows cvar #11199

Merged
merged 1 commit into from
Dec 30, 2013

Conversation

alexcrichton
Copy link
Member

Turns out with an argument of 0 the function always returns immediately!

Closes #11003

Turns out with an argument of 0 the function always returns immediately!

Closes rust-lang#11003
bors added a commit that referenced this pull request Dec 30, 2013
…lton

Turns out with an argument of 0 the function always returns immediately!

Closes #11003
@bors bors closed this Dec 30, 2013
@bors bors merged commit 0da86ba into rust-lang:master Dec 30, 2013
@alexcrichton alexcrichton deleted the windows-isnt-waiting branch January 1, 2014 21:30
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 31, 2023
[`needless_pass_by_ref_mut`]: Do not lint if passed as a fn-like argument

Fixes rust-lang#11182 and also fixes rust-lang#11199 (though this is kind of a duplicate)

There's likely a case or two I've missed, so this likely needs a bit more work but it seems to work fine with the tests I've added.

PS, the diff for the test is useless because it iterates over a hashmap before linting. Seems to work fine but we could maybe change this for consistency's sake

changelog: [`needless_pass_by_ref_mut`]: No longer lints if the function is passed as a fn-like argument
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.

Native comm tests are disabled on Windows
3 participants