Skip to content

Commit 1c59cd5

Browse files
committed
Fix example code of wildcard_enum_match_arm lint
1 parent 749619c commit 1c59cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/matches.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ declare_clippy_lint! {
220220
/// # enum Foo { A(usize), B(usize) }
221221
/// # let x = Foo::B(1);
222222
/// match x {
223-
/// A => {},
223+
/// Foo::A(_) => {},
224224
/// _ => {},
225225
/// }
226226
/// ```

0 commit comments

Comments
 (0)