From a90e1abbd8a7b22f4652afa67588be3dd4204e2b Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 25 Dec 2019 22:50:57 -0600 Subject: [PATCH] refactor/polish ~ fix `cargo clippy` complaints (allow enum_variant_names) --- src/nl/nl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nl/nl.rs b/src/nl/nl.rs index 51c3fc8c9..e24d4f0b8 100644 --- a/src/nl/nl.rs +++ b/src/nl/nl.rs @@ -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,