Try to fix clippy

This commit is contained in:
Alex Auvolat 2022-08-29 17:32:45 +02:00
parent 5d065b8a0f
commit 322dafc761
No known key found for this signature in database
GPG key ID: 0E496D15096376BE

View file

@ -404,7 +404,7 @@ impl RpcHelper {
let mut nodes = nodes
.iter()
.map(|to| {
let peer_zone = match ring.layout.node_role(&to) {
let peer_zone = match ring.layout.node_role(to) {
Some(pc) => &pc.zone,
None => "",
};