Skip to content

Reserve 'yield' keyword #8494

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 Aug 13, 2013 · 2 comments
Closed

Reserve 'yield' keyword #8494

brson opened this issue Aug 13, 2013 · 2 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 Aug 13, 2013

For possible future use in generators. Will require renaming task::yield - suggestions include deschedule and yield_task.

@brson
Copy link
Contributor Author

brson commented Aug 13, 2013

Nominating back compat.

@metajack
Copy link
Contributor

Maybe suspend.

bors added a commit that referenced this issue Aug 18, 2013
Rename task::yield() to task::deschedule().

Fixes #8494.
@bors bors closed this as completed in 418e1eb Aug 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 16, 2022
Changes to `iter_overeager_cloned`

fixes: rust-lang#8494

changelog: Don't lint `iter_overeager_cloned` on `.cloned().flatten()` when `T::Item` doesn't implement `IntoIterator`
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

Successfully merging a pull request may close this issue.

2 participants