Commit 1f17666
committed
Ignore needless_else clippy lint in test suite
error: this else branch is empty
--> tests/test_ensure.rs:177:42
|
177 | let test = || Ok(ensure!(if false {} else {}.t(1) == 2));
| ^^^^^^^ help: you can remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_else
= note: `-D clippy::needless-else` implied by `-D clippy::all`1 parent 6046674 commit 1f17666
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments