Skip to content

Commit

Permalink
tests: if_same_then_else2: Ignore single_element_loop lint
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Oct 3, 2020
1 parent d95c2ba commit e8307d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ui/if_same_then_else2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
clippy::blacklisted_name,
clippy::collapsible_if,
clippy::ifs_same_cond,
clippy::needless_return
clippy::needless_return,
clippy::single_element_loop
)]

fn if_same_then_else2() -> Result<&'static str, ()> {
Expand Down

0 comments on commit e8307d3

Please sign in to comment.