Add third variant to {pub_,}enum_variant_names examples

The default value for `enum-variant-name-threshold` is 3, so the old examples (which only have two enum variants) don't actually trigger the lint by default.
This commit is contained in:
Nathan 2018-04-27 18:45:14 -04:00
parent d45612e606
commit 3373fa97e2

View File

@ -20,6 +20,7 @@ use utils::{camel_case_from, camel_case_until, in_macro};
/// enum Cake {
/// BlackForestCake,
/// HummingbirdCake,
/// BattenbergCake,
/// }
/// ```
declare_clippy_lint! {
@ -41,6 +42,7 @@ declare_clippy_lint! {
/// enum Cake {
/// BlackForestCake,
/// HummingbirdCake,
/// BattenbergCake,
/// }
/// ```
declare_clippy_lint! {