]> git.lizzy.rs Git - rust.git/blob - src/docs/similar_names.txt
Auto merge of #9421 - xphoniex:fix-#9420, r=giraffate
[rust.git] / src / docs / similar_names.txt
1 ### What it does
2 Checks for names that are very similar and thus confusing.
3
4 ### Why is this bad?
5 It's hard to distinguish between names that differ only
6 by a single character.
7
8 ### Example
9 ```
10 let checked_exp = something;
11 let checked_expr = something_else;
12 ```