Skip to content

Commit

Permalink
fix doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 2, 2024
1 parent 62cb7c4 commit d54e12d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rpc-client-nonce-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ solana-account-decoder = { workspace = true }
solana-fee-calculator = { workspace = true }
solana-program = { workspace = true, default-features = false }
solana-rpc-client-api = { workspace = true }
solana-sdk = { workspace = true }
solana-sha256-hasher = { workspace = true }
tokio = { workspace = true, features = ["full"] }

Expand Down
12 changes: 7 additions & 5 deletions rpc-client-nonce-utils/src/nonblocking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,14 @@ pub fn state_from_account<T: ReadableAccount + StateMut<Versions>>(
/// ```no_run
/// use solana_rpc_client_nonce_utils::nonblocking;
/// use solana_rpc_client::nonblocking::rpc_client::RpcClient;
/// use solana_sdk::{
/// use solana_program::{
/// message::Message,
/// pubkey::Pubkey,
/// signature::{Keypair, Signer},
/// system_instruction,
/// transaction::Transaction,
/// system_instruction
/// };
/// use solana_pubkey::Pubkey;
/// use solana_sdk::{
/// signer::{keypair::Keypair, Signer},
/// transaction::Transaction
/// };
/// use std::path::Path;
/// use anyhow::Result;
Expand Down

0 comments on commit d54e12d

Please sign in to comment.