Skip to content
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

support trailing semicolons for gray_image! #707

Open
cospectrum opened this issue Jan 8, 2025 · 1 comment
Open

support trailing semicolons for gray_image! #707

cospectrum opened this issue Jan 8, 2025 · 1 comment

Comments

@cospectrum
Copy link
Contributor

fn main() {
    let img = gray_image!(type: f32,
        1., 2., 3.;
        4., 5., 6.;
        7., 8., 9.;  // <- this one ";" is not supported
    );
 }
@theotherphil
Copy link
Contributor

This would be a welcome change. I can’t remember why I didn’t support this initially - I suspect laziness!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants