fix clippy again

This commit is contained in:
mfahampshire
2024-12-17 01:07:53 +01:00
parent 9400140f69
commit 99d2a807dd
+8 -4
View File
@@ -39,9 +39,11 @@ async fn main() -> Result<()> {
let net = NymNetworkDetails::new_from_env();
let client = MixnetClientBuilder::new_ephemeral()
.network_details(net)
.build()?
.build()
.unwrap()
.connect_to_mixnet()
.await?;
.await
.unwrap();
println!(
"Using {} for the moment, created outside of the connection pool",
client.nym_address()
@@ -67,9 +69,11 @@ async fn main() -> Result<()> {
let net = NymNetworkDetails::new_from_env();
let client = MixnetClientBuilder::new_ephemeral()
.network_details(net)
.build()?
.build()
.unwrap()
.connect_to_mixnet()
.await?;
.await
.unwrap();
println!(
"Using {} for the moment, created outside of the connection pool",
client.nym_address()