Skip to content

Commit 0984754

Browse files
committed
Auto merge of #6777 - giraffate:remove_unneeded_blank_lines_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
2 parents a3127fa + e05965e commit 0984754

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clippy_lints/src/write.rs

-3
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ declare_clippy_lint! {
147147
/// ```rust
148148
/// # use std::fmt::Write;
149149
/// # let mut buf = String::new();
150-
///
151150
/// // Bad
152151
/// writeln!(buf, "");
153152
///
@@ -174,7 +173,6 @@ declare_clippy_lint! {
174173
/// # use std::fmt::Write;
175174
/// # let mut buf = String::new();
176175
/// # let name = "World";
177-
///
178176
/// // Bad
179177
/// write!(buf, "Hello {}!\n", name);
180178
///
@@ -200,7 +198,6 @@ declare_clippy_lint! {
200198
/// ```rust
201199
/// # use std::fmt::Write;
202200
/// # let mut buf = String::new();
203-
///
204201
/// // Bad
205202
/// writeln!(buf, "{}", "foo");
206203
///

0 commit comments

Comments
 (0)