Skip to content

Commit

Permalink
Auto merge of #5681 - matthiaskrgr:empty_line, r=phansch
Browse files Browse the repository at this point in the history
match_wildcard_for_single_variants: remove empty line at start of lint example.

See https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants

changelog: none
  • Loading branch information
bors committed Jun 4, 2020
2 parents e2fdeec + 7654125 commit a8957ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clippy_lints/src/matches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ declare_clippy_lint! {
/// ```rust
/// # enum Foo { A, B, C }
/// # let x = Foo::B;
///
/// // Bad
/// match x {
/// Foo::A => {},
Expand Down

0 comments on commit a8957ac

Please sign in to comment.