2 Checks if the `if` and `else` block contain shared code that can be
3 moved out of the blocks.
6 Duplicate code is less maintainable.
9 * The lint doesn't check if the moved expressions modify values that are being used in
10 the if condition. The suggestion can in that case modify the behavior of the program.
11 See [rust-clippy#7452](https://github.com/rust-lang/rust-clippy/issues/7452)
16 println!("Hello World");
19 println!("Hello World");
26 println!("Hello World");