2 The lint checks for `if`-statements appearing in loops
3 that contain a `continue` statement in either their main blocks or their
4 `else`-blocks, when omitting the `else`-block possibly with some
5 rearrangement of code can make the code easier to understand.
8 Having explicit `else` blocks for `if` statements
9 containing `continue` in their THEN branch adds unnecessary branching and
10 nesting to the code. Having an else block containing just `continue` can
11 also be better written by grouping the statements following the whole `if`
12 statement within the THEN block and omitting the else block completely.
23 println!("Hello, world");
34 println!("Hello, world");
39 As another example, the following code
46 // Do something useful
58 // Do something useful