pub static REDUNDANT_SEMICOLONS: &Lint
Expand description

The redundant_semicolons lint detects unnecessary trailing semicolons.

Example

let _ = 123;;

{{produces}}

Explanation

Extra semicolons are not needed, and may be removed to avoid confusion and visual clutter.