3 ms·
Well, Firefox does have more and more Rust now... fn main() { if (true) { } } results in warning: unnecessary parentheses around `if` condition
by steveklabnik 9y ago
Well, Firefox does have more and more Rust now...
fn main() {
if (true) { }
}
results in
warning: unnecessary parentheses around `if` condition
--> <anon>:2:8
|
2 | if (true) { }
| ^^^^^^
|
= note: #[warn(unused_parens)] on by default