2 Checks for `.expect()` or `.expect_err()` calls on `Result`s and `.expect()` call on `Option`s.
5 Usually it is better to handle the `None` or `Err` case.
6 Still, for a lot of quick-and-dirty code, `expect` is a good choice, which is why
7 this lint is `Allow` by default.
9 `result.expect()` will let the thread panic on `Err`
10 values. Normally, you want to implement more sophisticated error handling,
11 and propagate errors upwards with `?` operator.