blob: 1e6154d43e0538550a3c6b40f984d79d4bb259ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
### What it does
`exit()` terminates the program and doesn't provide a
stack trace.
### Why is this bad?
Ideally a program is terminated by finishing
the main function.
### Example
```
std::process::exit(0)
```
|