fix typo in rpc client (#29434)

* fix typo in runtime docs

* fix typo in rpc client
This commit is contained in:
gr8den 2022-12-30 06:03:28 +08:00 committed by GitHub
parent 1de161c13a
commit 84e0d12f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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`].
///

View File

@ -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`].
///