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
yield_
It can be used to transmute types. Example causing a segmentation fault (at least on my machine):
use generator::*; fn main() { let g = Gn::new_scoped(|_| { yield_::<String, _>(()); }); for () in g {} }
The text was updated successfully, but these errors were encountered:
yied_ should be deprecated. we should always use scoped version's yield method.
yied_
Sorry, something went wrong.
📝 deprecate non scoped APIs (#14)
e26c885
now if call deprecated yield_ in a scoped generator, this will trigger assertion panic.
No branches or pull requests
It can be used to transmute types. Example causing a segmentation fault (at least on my machine):
The text was updated successfully, but these errors were encountered: