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` --> validator/src/dashboard.rs:223:38 | 223 | match async move { | ______________________________________^ 224 | | let rpc_addr = admin_client.rpc_addr().await?; 225 | | let start_time = admin_client.start_time().await?; 226 | | Ok::<_, jsonrpc_core_client::RpcError>((rpc_addr, start_time)) 227 | | } | |_____________________^ | = 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 warning: `solana-validator` (lib) generated 1 warning ```
- Loading branch information