pub static NON_SNAKE_CASE: &Lint
Expand description

The non_snake_case lint detects variables, methods, functions, lifetime parameters and modules that don’t have snake case names.

§Example

let MY_VALUE = 5;

{{produces}}

§Explanation

The preferred style for these identifiers is to use “snake case”, where all the characters are in lowercase, with words separated with a single underscore, such as my_value.