From 84e0d12f9185a75076026aec8c625adf67e2024a Mon Sep 17 00:00:00 2001 From: gr8den Date: Fri, 30 Dec 2022 06:03:28 +0800 Subject: [PATCH] fix typo in rpc client (#29434) * fix typo in runtime docs * fix typo in rpc client --- rpc-client/src/nonblocking/rpc_client.rs | 6 +++--- rpc-client/src/rpc_client.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rpc-client/src/nonblocking/rpc_client.rs b/rpc-client/src/nonblocking/rpc_client.rs index 3bf4462ead..d45cd78945 100644 --- a/rpc-client/src/nonblocking/rpc_client.rs +++ b/rpc-client/src/nonblocking/rpc_client.rs @@ -1463,7 +1463,7 @@ impl RpcClient { /// /// If the transaction has been processed with the default commitment level, /// and the transaction succeeded, this method returns `Ok(Some(Ok(())))`. - /// If the transaction has peen processed with the default commitment level, + /// If the transaction has been processed with the default commitment level, /// and the transaction failed, this method returns `Ok(Some(Err(_)))`, /// where the interior error is type [`TransactionError`]. /// @@ -1683,7 +1683,7 @@ impl RpcClient { /// /// If the transaction has been processed with the given commitment level, /// and the transaction succeeded, this method returns `Ok(Some(Ok(())))`. - /// If the transaction has peen processed with the given commitment level, + /// If the transaction has been processed with the given commitment level, /// and the transaction failed, this method returns `Ok(Some(Err(_)))`, /// where the interior error is type [`TransactionError`]. /// @@ -1759,7 +1759,7 @@ impl RpcClient { /// /// If the transaction has been processed with the given commitment level, /// and the transaction succeeded, this method returns `Ok(Some(Ok(())))`. - /// If the transaction has peen processed with the given commitment level, + /// If the transaction has been processed with the given commitment level, /// and the transaction failed, this method returns `Ok(Some(Err(_)))`, /// where the interior error is type [`TransactionError`]. /// diff --git a/rpc-client/src/rpc_client.rs b/rpc-client/src/rpc_client.rs index b559f47dd2..528fdf2d71 100644 --- a/rpc-client/src/rpc_client.rs +++ b/rpc-client/src/rpc_client.rs @@ -1194,7 +1194,7 @@ impl RpcClient { /// /// If the transaction has been processed with the default commitment level, /// and the transaction succeeded, this method returns `Ok(Some(Ok(())))`. - /// If the transaction has peen processed with the default commitment level, + /// If the transaction has been processed with the default commitment level, /// and the transaction failed, this method returns `Ok(Some(Err(_)))`, /// where the interior error is type [`TransactionError`]. /// @@ -1395,7 +1395,7 @@ impl RpcClient { /// /// If the transaction has been processed with the given commitment level, /// and the transaction succeeded, this method returns `Ok(Some(Ok(())))`. - /// If the transaction has peen processed with the given commitment level, + /// If the transaction has been processed with the given commitment level, /// and the transaction failed, this method returns `Ok(Some(Err(_)))`, /// where the interior error is type [`TransactionError`]. /// @@ -1462,7 +1462,7 @@ impl RpcClient { /// /// If the transaction has been processed with the given commitment level, /// and the transaction succeeded, this method returns `Ok(Some(Ok(())))`. - /// If the transaction has peen processed with the given commitment level, + /// If the transaction has been processed with the given commitment level, /// and the transaction failed, this method returns `Ok(Some(Err(_)))`, /// where the interior error is type [`TransactionError`]. ///