about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2020-06-04 03:34:22 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2020-06-04 03:34:22 +0200
commit7654125d27d95d5c329e554115b510efc1ab1e60 (patch)
tree7b67121a8e00b413330541e6dde0a4b8e0a1c1e3
parente2fdeecc22367d70451a6051f02a876e5ff7d80f (diff)
downloadrust-7654125d27d95d5c329e554115b510efc1ab1e60.tar.gz
rust-7654125d27d95d5c329e554115b510efc1ab1e60.zip
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
-rw-r--r--clippy_lints/src/matches.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/matches.rs b/clippy_lints/src/matches.rs
index 146212cb2c7..6d7af45a472 100644
--- a/clippy_lints/src/matches.rs
+++ b/clippy_lints/src/matches.rs
@@ -270,7 +270,6 @@ declare_clippy_lint! {
     /// ```rust
     /// # enum Foo { A, B, C }
     /// # let x = Foo::B;
-    ///
     /// // Bad
     /// match x {
     ///     Foo::A => {},