refactor/polish ~ fix cargo clippy complaints (allow enum_variant_names)

This commit is contained in:
Roy Ivy III 2019-12-25 22:50:57 -06:00
parent 5241eca084
commit a90e1abbd8

View file

@ -58,6 +58,7 @@ pub struct Settings {
// 2. Number only nonempty lines
// 3. Don't number any lines at all
// 4. Number all lines that match a basic regular expression.
#[allow(clippy::enum_variant_names)]
enum NumberingStyle {
NumberForAll,
NumberForNonEmpty,