about summary refs log tree commit diff
path: root/src/docs/writeln_empty_string.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/writeln_empty_string.txt')
-rw-r--r--src/docs/writeln_empty_string.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/docs/writeln_empty_string.txt b/src/docs/writeln_empty_string.txt
deleted file mode 100644
index 3b3aeb79a48..00000000000
--- a/src/docs/writeln_empty_string.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-### What it does
-This lint warns when you use `writeln!(buf, "")` to
-print a newline.
-
-### Why is this bad?
-You should use `writeln!(buf)`, which is simpler.
-
-### Example
-```
-writeln!(buf, "");
-```
-
-Use instead:
-```
-writeln!(buf);
-```
\ No newline at end of file