diff options
| author | Vardan Margaryan <v.t.margaryan@gmail.com> | 2020-05-14 22:40:33 +0300 |
|---|---|---|
| committer | Vardan Margaryan <v.t.margaryan@gmail.com> | 2020-05-14 22:40:33 +0300 |
| commit | 749619cfe34be1ee591f3af748fbdd4d2f54d3f0 (patch) | |
| tree | eb85a2d7b0bade64bd5cf158aa1b23ec810af3c8 | |
| parent | 494830797744c09d6de3b2b2452ab185d2204005 (diff) | |
| download | rust-749619cfe34be1ee591f3af748fbdd4d2f54d3f0.tar.gz rust-749619cfe34be1ee591f3af748fbdd4d2f54d3f0.zip | |
Apply suggestions from PR review
| -rw-r--r-- | clippy_lints/src/matches.rs | 4 |
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, ) } } |
