We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now you can't break from a loop inside a stack closure. That's counter intuitive. Intended example usage:
loop { do sdl::poll_events |event| { match event { sdl::QuitEvent => { break; } _ => {} } } }
Compiler error currently:
test.rs:11:36: 11:42 error: `break` outside of loop test.rs:11 sdl::QuitEvent => { break; } ^~~~~~
The text was updated successfully, but these errors were encountered:
dup of #3064.
Sorry, something went wrong.
fix rust code in comment with a line containing only a hash sign (rus…
dbd8936
…t-lang#3818)
Auto merge of rust-lang#3818 - tiif:loseevents, r=RalfJung
9370020
epoll: iterate through output buffer then fetch an event from ready list Fixes rust-lang#3812
No branches or pull requests
Right now you can't break from a loop inside a stack closure. That's counter intuitive. Intended example usage:
Compiler error currently:
The text was updated successfully, but these errors were encountered: