]> git.lizzy.rs Git - rust.git/blob - src/docs/panic.txt
Auto merge of #9421 - xphoniex:fix-#9420, r=giraffate
[rust.git] / src / docs / panic.txt
1 ### What it does
2 Checks for usage of `panic!`.
3
4 ### Why is this bad?
5 `panic!` will stop the execution of the executable
6
7 ### Example
8 ```
9 panic!("even with a good reason");
10 ```