Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pedantically, `yield` is already a keyword [1]. As the project's README states, generators [2] are an unstable part of Rust, and the `yield` keyword goes with them.

[1]: https://doc.rust-lang.org/reference/keywords.html?highlight=...

[2]: https://doc.rust-lang.org/std/ops/trait.Generator.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: