]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/src/docs/no_effect.txt
Rollup merge of #101578 - lcnr:resolve-hack, r=jackh726
[rust.git] / src / tools / clippy / src / docs / no_effect.txt
1 ### What it does
2 Checks for statements which have no effect.
3
4 ### Why is this bad?
5 Unlike dead code, these statements are actually
6 executed. However, as they have no effect, all they do is make the code less
7 readable.
8
9 ### Example
10 ```
11 0;
12 ```