diff --git a/sdk/rust/nym-sdk/examples/manually_handle_keys_and_config.rs b/sdk/rust/nym-sdk/examples/manually_handle_keys_and_config.rs index d099529364..b29a8f9037 100644 --- a/sdk/rust/nym-sdk/examples/manually_handle_keys_and_config.rs +++ b/sdk/rust/nym-sdk/examples/manually_handle_keys_and_config.rs @@ -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::() .await - .unwrap(); - client + .unwrap() }; // Connect to the mixnet, now we're listening for incoming