Merge pull request #2701 from nathan/patch-1

Add third variant to {pub_,}enum_variant_names examples
This commit is contained in:
Oliver Schneider 2018-05-01 16:47:53 +02:00 committed by GitHub
commit ce9715a834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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! {