Skip to main content

REDUNDANT_SEMICOLONS

Static REDUNDANT_SEMICOLONS 

Source
pub(crate) 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.