about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVardan Margaryan <v.t.margaryan@gmail.com>2020-05-14 22:40:33 +0300
committerVardan Margaryan <v.t.margaryan@gmail.com>2020-05-14 22:40:33 +0300
commit749619cfe34be1ee591f3af748fbdd4d2f54d3f0 (patch)
treeeb85a2d7b0bade64bd5cf158aa1b23ec810af3c8
parent494830797744c09d6de3b2b2452ab185d2204005 (diff)
downloadrust-749619cfe34be1ee591f3af748fbdd4d2f54d3f0.tar.gz
rust-749619cfe34be1ee591f3af748fbdd4d2f54d3f0.zip
Apply suggestions from PR review
-rw-r--r--clippy_lints/src/matches.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/matches.rs b/clippy_lints/src/matches.rs
index 42a6c416619..444f5bb0db6 100644
--- a/clippy_lints/src/matches.rs
+++ b/clippy_lints/src/matches.rs
@@ -810,7 +810,7 @@ fn check_wild_enum_match(cx: &LateContext<'_, '_>, ex: &Expr<'_>, arms: &[Arm<'_
                 message,
                 "try this",
                 suggestion[0].clone(),
-                Applicability::MachineApplicable,
+                Applicability::MaybeIncorrect,
             )
         };
 
@@ -821,7 +821,7 @@ fn check_wild_enum_match(cx: &LateContext<'_, '_>, ex: &Expr<'_>, arms: &[Arm<'_
             message,
             "try this",
             suggestion.join(" | "),
-            Applicability::MachineApplicable,
+            Applicability::MaybeIncorrect,
         )
     }
 }