pub(crate) static UNUSED_BRACES: &Lint
The unused_braces lint detects unnecessary braces around an expression.
unused_braces
if { true } { // ... }
{{produces}}
The braces are not needed, and should be removed. This is the preferred style for writing these expressions.