]> git.lizzy.rs Git - rust.git/blob - src/docs/print_stdout.txt
new uninlined_format_args lint to inline explicit arguments
[rust.git] / src / docs / print_stdout.txt
1 ### What it does
2 Checks for printing on *stdout*. The purpose of this lint
3 is to catch debugging remnants.
4
5 ### Why is this bad?
6 People often print on *stdout* while debugging an
7 application and might forget to remove those prints afterward.
8
9 ### Known problems
10 Only catches `print!` and `println!` calls.
11
12 ### Example
13 ```
14 println!("Hello world!");
15 ```