3 ms·
Well it introduces `yield` and multiple macros. Presumably these would turn into keywords/ syntax at some point.
by insanitybit 4y ago
Well it introduces `yield` and multiple macros. Presumably these would turn into keywords/ syntax at some point.
- shepmaster 4y agoPedantically, `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=yield#reserved-keywords https://doc.rust-lang.org/reference/keywords.html?highlight=... [2]: https://doc.rust-lang.org/std/ops/trait.Generator.html https://doc.rust-lang.org/std/ops/trait.Generator.html