From 210d320f16f126eb40e613e7cf8c31d415303e02 Mon Sep 17 00:00:00 2001 From: sakridge Date: Wed, 20 Dec 2023 14:34:16 +0100 Subject: [PATCH] Remove to_string which is not necessary (#34540) --- local-cluster/tests/local_cluster.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/local-cluster/tests/local_cluster.rs b/local-cluster/tests/local_cluster.rs index 150b4d355..892ca38c9 100644 --- a/local-cluster/tests/local_cluster.rs +++ b/local-cluster/tests/local_cluster.rs @@ -240,10 +240,7 @@ fn test_local_cluster_signature_subscribe() { ); let (mut sig_subscribe_client, receiver) = PubsubClient::signature_subscribe( - &format!( - "ws://{}", - &non_bootstrap_info.rpc_pubsub().unwrap().to_string() - ), + &format!("ws://{}", non_bootstrap_info.rpc_pubsub().unwrap()), &transaction.signatures[0], Some(RpcSignatureSubscribeConfig { commitment: Some(CommitmentConfig::processed()),