Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit 6e432a2

Browse files
committed
Ignore redundant_else Clippy pedantic lint
error: redundant else block --> src/mapping.rs:193:32 | 193 | } else { | ________________________________^ 194 | | return Ordering::Less; 195 | | } | |_________________________^ | = note: `-D clippy::redundant-else` implied by `-D clippy::pedantic` = help: remove the `else` block and move the contents out = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_else
1 parent 6edeb29 commit 6e432a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
clippy::module_name_repetitions,
7878
clippy::needless_pass_by_value,
7979
clippy::option_if_let_else,
80+
clippy::redundant_else,
8081
clippy::single_match_else,
8182
// code is acceptable
8283
clippy::cast_possible_wrap,

0 commit comments

Comments
 (0)