Skip to content

Commit 15f6fb9

Browse files
committed
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">
2 parents eceebc3 + 114cb21 commit 15f6fb9

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

clippy_lints/src/blocks_in_if_conditions.rs

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ declare_clippy_lint! {
2828
///
2929
/// ```rust
3030
/// # fn somefunc() -> bool { true };
31-
///
3231
/// // Bad
3332
/// if { let x = somefunc(); x } { /* ... */ }
3433
///

clippy_lints/src/escape.rs

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ declare_clippy_lint! {
2929
/// **Example:**
3030
/// ```rust
3131
/// # fn foo(bar: usize) {}
32-
///
3332
/// // Bad
3433
/// let x = Box::new(1);
3534
/// foo(*x);

clippy_lints/src/matches.rs

-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ declare_clippy_lint! {
3636
/// ```rust
3737
/// # fn bar(stool: &str) {}
3838
/// # let x = Some("abc");
39-
///
4039
/// // Bad
4140
/// match x {
4241
/// Some(ref foo) => bar(foo),
@@ -239,7 +238,6 @@ declare_clippy_lint! {
239238
/// ```rust
240239
/// # enum Foo { A(usize), B(usize) }
241240
/// # let x = Foo::B(1);
242-
///
243241
/// // Bad
244242
/// match x {
245243
/// Foo::A(_) => {},

clippy_lints/src/misc_early.rs

-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ declare_clippy_lint! {
231231
/// ```rust
232232
/// # struct TupleStruct(u32, u32, u32);
233233
/// # let t = TupleStruct(1, 2, 3);
234-
///
235234
/// // Bad
236235
/// match t {
237236
/// TupleStruct(0, .., _) => (),

0 commit comments

Comments
 (0)