Skip to content

Commit 749619c

Browse files
committed
Apply suggestions from PR review
1 parent 4948307 commit 749619c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/matches.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ fn check_wild_enum_match(cx: &LateContext<'_, '_>, ex: &Expr<'_>, arms: &[Arm<'_
810810
message,
811811
"try this",
812812
suggestion[0].clone(),
813-
Applicability::MachineApplicable,
813+
Applicability::MaybeIncorrect,
814814
)
815815
};
816816

@@ -821,7 +821,7 @@ fn check_wild_enum_match(cx: &LateContext<'_, '_>, ex: &Expr<'_>, arms: &[Arm<'_
821821
message,
822822
"try this",
823823
suggestion.join(" | "),
824-
Applicability::MachineApplicable,
824+
Applicability::MaybeIncorrect,
825825
)
826826
}
827827
}

0 commit comments

Comments
 (0)