Skip to content

Commit

Permalink
update doc examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Aug 3, 2024
1 parent f6fff45 commit d84ff8a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions sdk/account-info/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,9 @@ impl<'a, T: Account> IntoAccountInfo<'a> for &'a mut (Pubkey, T) {
/// # Examples
///
/// ```
/// use solana_program::{
/// account_info::{AccountInfo, next_account_info},
/// entrypoint::ProgramResult,
/// pubkey::Pubkey,
/// };
/// use solana_program::entrypoint::ProgramResult;
/// use solana_account_info::{AccountInfo, next_account_info};
/// use solana_pubkey::Pubkey;
/// # use solana_program::program_error::ProgramError;
///
/// pub fn process_instruction(
Expand Down Expand Up @@ -352,11 +350,9 @@ pub fn next_account_info<'a, 'b, I: Iterator<Item = &'a AccountInfo<'b>>>(
/// # Examples
///
/// ```
/// use solana_program::{
/// account_info::{AccountInfo, next_account_info, next_account_infos},
/// entrypoint::ProgramResult,
/// pubkey::Pubkey,
/// };
/// use solana_program::entrypoint::ProgramResult;
/// use solana_account_info::{AccountInfo, next_account_info, next_account_infos};
/// use solana_pubkey::Pubkey;
/// # use solana_program::program_error::ProgramError;
///
/// pub fn process_instruction(
Expand Down

0 comments on commit d84ff8a

Please sign in to comment.