Skip to content

Commit ce9715a

Browse files
authored
Merge pull request #2701 from nathan/patch-1
Add third variant to {pub_,}enum_variant_names examples
2 parents 1742229 + 3373fa9 commit ce9715a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clippy_lints/src/enum_variants.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use utils::{camel_case_from, camel_case_until, in_macro};
2020
/// enum Cake {
2121
/// BlackForestCake,
2222
/// HummingbirdCake,
23+
/// BattenbergCake,
2324
/// }
2425
/// ```
2526
declare_clippy_lint! {
@@ -41,6 +42,7 @@ declare_clippy_lint! {
4142
/// enum Cake {
4243
/// BlackForestCake,
4344
/// HummingbirdCake,
45+
/// BattenbergCake,
4446
/// }
4547
/// ```
4648
declare_clippy_lint! {

0 commit comments

Comments
 (0)