mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
13 lines
264 B
Text
13 lines
264 B
Text
|
error: this else branch is empty
|
||
|
--> $DIR/needless_else.rs:20:7
|
||
|
|
|
||
|
LL | } else {
|
||
|
| _______^
|
||
|
LL | | }
|
||
|
| |_____^ help: you can remove it
|
||
|
|
|
||
|
= note: `-D clippy::needless-else` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|