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

You can discard a variable like so:

_ = variable_to_discard

I am sorta unsure why Zig doesn't have multiline comments, but its also not at version 1 yet, so that will likely come, along with better IDE support.



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

Search: