]> git.lizzy.rs Git - rust.git/blob - src/docs/disallowed_names.txt
Auto merge of #9421 - xphoniex:fix-#9420, r=giraffate
[rust.git] / src / docs / disallowed_names.txt
1 ### What it does
2 Checks for usage of disallowed names for variables, such
3 as `foo`.
4
5 ### Why is this bad?
6 These names are usually placeholder names and should be
7 avoided.
8
9 ### Example
10 ```
11 let foo = 3.14;
12 ```