Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let` --> src/cmd/count.rs:60:49 | 60 | match conf.indexed().unwrap_or_else(|_| { | _________________________________________________^ 61 | | info!("index is stale"); 62 | | None 63 | | }) { | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions = note: `#[warn(clippy::blocks_in_conditions)]` on by default
- Loading branch information