Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: `if` chain can be rewritten with `match` --> src/normalize.rs:423:21 | 423 | / if *count_other_types == 9 { 424 | | if let Some(next) = self.all_lines.get(index + 1) { 425 | | let next_trim_start = next.trim_start(); 426 | | let next_indent = next.len() - next_trim_start.len(); ... | 432 | | return None; 433 | | } | |_____________________^ | = help: consider rewriting the `if` chain to use `cmp` and `match` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain = note: `#[warn(clippy::comparison_chain)]` on by default
- Loading branch information