Auto merge of #6194 - giraffate:remove_an_extra_blank_line, r=flip1995

Remove an extra blank line in doc examples

It seems to be an extra blank line in doc example.

changelog: none

<img width="1141" alt="スクリーンショット 2020-10-19 10 32 21" src="https://user-images.githubusercontent.com/17407489/96392372-d0583200-11f6-11eb-9aab-f7e8f87eb04e.png">
This commit is contained in:
bors 2020-10-25 17:15:42 +00:00
commit 15f6fb99e4
4 changed files with 0 additions and 5 deletions

View File

@ -28,7 +28,6 @@ declare_clippy_lint! {
/// ///
/// ```rust /// ```rust
/// # fn somefunc() -> bool { true }; /// # fn somefunc() -> bool { true };
///
/// // Bad /// // Bad
/// if { let x = somefunc(); x } { /* ... */ } /// if { let x = somefunc(); x } { /* ... */ }
/// ///

View File

@ -29,7 +29,6 @@ declare_clippy_lint! {
/// **Example:** /// **Example:**
/// ```rust /// ```rust
/// # fn foo(bar: usize) {} /// # fn foo(bar: usize) {}
///
/// // Bad /// // Bad
/// let x = Box::new(1); /// let x = Box::new(1);
/// foo(*x); /// foo(*x);

View File

@ -36,7 +36,6 @@ declare_clippy_lint! {
/// ```rust /// ```rust
/// # fn bar(stool: &str) {} /// # fn bar(stool: &str) {}
/// # let x = Some("abc"); /// # let x = Some("abc");
///
/// // Bad /// // Bad
/// match x { /// match x {
/// Some(ref foo) => bar(foo), /// Some(ref foo) => bar(foo),
@ -239,7 +238,6 @@ declare_clippy_lint! {
/// ```rust /// ```rust
/// # enum Foo { A(usize), B(usize) } /// # enum Foo { A(usize), B(usize) }
/// # let x = Foo::B(1); /// # let x = Foo::B(1);
///
/// // Bad /// // Bad
/// match x { /// match x {
/// Foo::A(_) => {}, /// Foo::A(_) => {},

View File

@ -231,7 +231,6 @@ declare_clippy_lint! {
/// ```rust /// ```rust
/// # struct TupleStruct(u32, u32, u32); /// # struct TupleStruct(u32, u32, u32);
/// # let t = TupleStruct(1, 2, 3); /// # let t = TupleStruct(1, 2, 3);
///
/// // Bad /// // Bad
/// match t { /// match t {
/// TupleStruct(0, .., _) => (), /// TupleStruct(0, .., _) => (),