```zig if (foo) { defer bar(); } ``` `bar` is defer'd in a block where it's the only statement. this is a no-op. additionally consider warning that if in an `if` statement `defer if ...` should be used instead of `if (...) { defer ... }`
baris defer'd in a block where it's the only statement. this is a no-op.additionally consider warning that if in an
ifstatementdefer if ...should be used instead ofif (...) { defer ... }