summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/disallowed_names.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/src/docs/disallowed_names.txt')
-rw-r--r--src/tools/clippy/src/docs/disallowed_names.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/clippy/src/docs/disallowed_names.txt b/src/tools/clippy/src/docs/disallowed_names.txt
new file mode 100644
index 000000000..f4aaee9c7
--- /dev/null
+++ b/src/tools/clippy/src/docs/disallowed_names.txt
@@ -0,0 +1,12 @@
+### What it does
+Checks for usage of disallowed names for variables, such
+as `foo`.
+
+### Why is this bad?
+These names are usually placeholder names and should be
+avoided.
+
+### Example
+```
+let foo = 3.14;
+``` \ No newline at end of file