We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d95c2ba commit e8307d3Copy full SHA for e8307d3
tests/ui/if_same_then_else2.rs
@@ -3,7 +3,8 @@
3
clippy::blacklisted_name,
4
clippy::collapsible_if,
5
clippy::ifs_same_cond,
6
- clippy::needless_return
+ clippy::needless_return,
7
+ clippy::single_element_loop
8
)]
9
10
fn if_same_then_else2() -> Result<&'static str, ()> {
0 commit comments