rust-sdk: fix clippy in example (#3020)

This commit is contained in:
Jon Häggblad
2023-02-13 15:22:39 +01:00
committed by GitHub
parent 6252b66724
commit fd1fb7ca7b
@@ -32,14 +32,13 @@ async fn main() {
// Create a client without a storage backend, but with explicitly set keys and gateway
// configuration. This creates the client in a registered state.
let client = mixnet::MixnetClientBuilder::new()
mixnet::MixnetClientBuilder::new()
.config(config)
.keys(keys)
.gateway_config(gateway_config)
.build::<mixnet::EmptyReplyStorage>()
.await
.unwrap();
client
.unwrap()
};
// Connect to the mixnet, now we're listening for incoming