Skip to content

Commit

Permalink
Cargo clippy pass
Browse files Browse the repository at this point in the history
  • Loading branch information
sydhds committed May 17, 2023
1 parent ba30982 commit e5b8b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-client/src/cmds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ impl Command {
.find_map(|entry| {
let state = grpc::ComponentStateId::from_i32(entry.state)
.unwrap_or(grpc::ComponentStateId::Error);
match grpc::ComponentStateId::from(state) {
match state {
grpc::ComponentStateId::Active => Some(entry.state),
_ => None,
}
Expand Down

0 comments on commit e5b8b16

Please sign in to comment.