Skip to content
Myr

Ignore redundant_else pedantic clippy lint

Before adoption: this commit came in with the history the project adopted, so no landing records it.

error: redundant else block --> src/error.rs:654:12 | 654 | } else { | ____________^ 655 | | None 656 | | } | |_____^ | = 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

authored by David Tolnay · committed by David Tolnay · parent 827bb9d · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/lib.rs+1 added
221 unmodified lines
222 clippy::module_name_repetitions,223 clippy::must_use_candidate,224 clippy::needless_doctest_main,225 clippy::new_ret_no_self,226 clippy::redundant_else,227 clippy::unused_self,228 clippy::used_underscore_binding,229 clippy::wildcard_imports,230 clippy::wrong_self_convention
427 unmodified lines