From 6df6411b7234c36555e5b38aa7084f641354cce2 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 31 Jan 2023 23:57:33 +0100 Subject: fix clippy --- examples/fullmesh.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/fullmesh.rs b/examples/fullmesh.rs index d0190ef..5bbde73 100644 --- a/examples/fullmesh.rs +++ b/examples/fullmesh.rs @@ -72,7 +72,7 @@ async fn main() { }; info!("Node private key: {}", hex::encode(&privkey)); - info!("Node public key: {}", hex::encode(&privkey.public_key())); + info!("Node public key: {}", hex::encode(privkey.public_key())); let public_addr = opt.public_addr.map(|x| x.parse().unwrap()); let listen_addr: SocketAddr = opt.listen_addr.parse().unwrap(); @@ -94,7 +94,7 @@ async fn main() { info!("Add more peers to this mesh by running: fullmesh -n {} -l 127.0.0.1:$((1000 + $RANDOM)) -b {}@{}", hex::encode(&netid), - hex::encode(&privkey.public_key()), + hex::encode(privkey.public_key()), listen_addr); let watch_cancel = netapp::util::watch_ctrl_c(); -- cgit v1.2.3