Skip to content

Commit

Permalink
Auto merge of rust-lang#6777 - giraffate:remove_unneeded_blank_lines_…
Browse files Browse the repository at this point in the history
…from_doc, r=phansch

Remove unneeded blank lines from doc

Remove unneeded blank lines like below.
<img width="1142" alt="スクリーンショット 2021-02-22 23 01 17" src="https://user-images.githubusercontent.com/17407489/108719295-bb9ff800-7562-11eb-9338-8f2571e61c56.png">

changelog: none
  • Loading branch information
bors committed Feb 23, 2021
2 parents a3127fa + e05965e commit 0984754
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions clippy_lints/src/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ declare_clippy_lint! {
/// ```rust
/// # use std::fmt::Write;
/// # let mut buf = String::new();
///
/// // Bad
/// writeln!(buf, "");
///
Expand All @@ -174,7 +173,6 @@ declare_clippy_lint! {
/// # use std::fmt::Write;
/// # let mut buf = String::new();
/// # let name = "World";
///
/// // Bad
/// write!(buf, "Hello {}!\n", name);
///
Expand All @@ -200,7 +198,6 @@ declare_clippy_lint! {
/// ```rust
/// # use std::fmt::Write;
/// # let mut buf = String::new();
///
/// // Bad
/// writeln!(buf, "{}", "foo");
///
Expand Down

0 comments on commit 0984754

Please sign in to comment.