Commit b4796a8
committed
Use expect_err
Clippy emits:
warning: called `.err().expect()` on a `Result` value
As suggested, use `expect_err`.1 parent 1a18901 commit b4796a8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
0 commit comments