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
#[auto_enum] fn match_(x: bool) -> Option<impl Iterator<Item = u8>> { Some( #[auto_enum(Iterator)] match x { true => std::iter::once(0), _ => std::iter::repeat(1), }, ) } #[auto_enum] fn if_(x: bool) -> Option<impl Iterator<Item = u8>> { Some( #[auto_enum(Iterator)] if x { std::iter::once(0) } else { std::iter::repeat(1) }, ) }
Related: #86
The text was updated successfully, but these errors were encountered:
pin-project using the same logic should also have this problem: taiki-e/pin-project#189
Sorry, something went wrong.
f5d1c1e
taiki-e
Successfully merging a pull request may close this issue.
Related: #86
The text was updated successfully, but these errors were encountered: