summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/use_debug.txt
blob: 94d4a6fd29ae5d2b7c99c1eef0e4575f75538087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
### What it does
Checks for use of `Debug` formatting. The purpose of this
lint is to catch debugging remnants.

### Why is this bad?
The purpose of the `Debug` trait is to facilitate
debugging Rust code. It should not be used in user-facing output.

### Example
```
println!("{:?}", foo);
```