]> git.lizzy.rs Git - rust.git/commitdiff
match_wildcard_for_single_variants: remove empty line at start of lint example.
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 4 Jun 2020 01:34:22 +0000 (03:34 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Thu, 4 Jun 2020 01:34:22 +0000 (03:34 +0200)
See https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants

changelog: none

clippy_lints/src/matches.rs

index 146212cb2c7a1933806e3e098243cc22ac9e891e..6d7af45a47224d54a99e6949c50185e792acf9bc 100644 (file)
     /// ```rust
     /// # enum Foo { A, B, C }
     /// # let x = Foo::B;
-    ///
     /// // Bad
     /// match x {
     ///     Foo::A => {},