Skip to content

Rename loop to continue #9467

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
brson opened this issue Sep 24, 2013 · 4 comments
Closed

Rename loop to continue #9467

brson opened this issue Sep 24, 2013 · 4 comments
Labels
A-grammar Area: The grammar of Rust E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Sep 24, 2013

Where most languages use continue to resume execution of a loop we reuse loop. We don't need to be breaking the mold here - change it to continue.

Nominating backcompat.

@erickt
Copy link
Contributor

erickt commented Sep 24, 2013

+1. I think we were being a bit too clever with loop.

@klutzy
Copy link
Contributor

klutzy commented Sep 25, 2013

+1

@bstrie
Copy link
Contributor

bstrie commented Sep 25, 2013

We'll also need to decide the fate of the current loop as while true. I rather like it, but I don't think it really warrants its own keyword.

@catamorphism
Copy link
Contributor

Accepted for backwards-compatible

djkoloski pushed a commit to djkoloski/rust that referenced this issue Sep 21, 2022
Fix `almost_complete_letter_range` false positive.

changelog: Fix [`almost_complete_letter_range`] false positive in an external macro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-grammar Area: The grammar of Rust E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

5 participants