about summary refs log tree commit diff
path: root/src/docs/let_unit_value.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/let_unit_value.txt')
-rw-r--r--src/docs/let_unit_value.txt13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/docs/let_unit_value.txt b/src/docs/let_unit_value.txt
deleted file mode 100644
index bc16d5b3d81..00000000000
--- a/src/docs/let_unit_value.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-### What it does
-Checks for binding a unit value.
-
-### Why is this bad?
-A unit value cannot usefully be used anywhere. So
-binding one is kind of pointless.
-
-### Example
-```
-let x = {
-    1;
-};
-```
\ No newline at end of file