Auto merge of #5681 - matthiaskrgr:empty_line, r=phansch

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
This commit is contained in:
bors 2020-06-04 09:23:44 +00:00
commit a8957acb13

View file

@ -270,7 +270,6 @@ declare_clippy_lint! {
/// ```rust
/// # enum Foo { A, B, C }
/// # let x = Foo::B;
///
/// // Bad
/// match x {
/// Foo::A => {},