Static rustc_lint::redundant_semicolon::REDUNDANT_SEMICOLONS[][src]

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.