Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clippy: Fixes blocks_in_conditions warning
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` --> cli/src/cluster_query.rs:1440:42 | 1440 | match ctrlc::try_set_handler(move || { | __________________________________________^ 1441 | | let _ = signal_sender.send(()); 1442 | | }) { | |_____^ | = 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