โ‰ˆ the.bay.news

What the exact rule of when a semi-colon is required at the end of a defer statements?

Ziggit
What the exact rule of when a semi-colon is required at the end of a defer statements?
var b = true; pub fn main() void { defer {} // can't end with ; defer if (b) {} else {}; // must end with ; }

0 comments

Sign in to join the discussion โ€” your thebay.events account works here.

No comments yet.