pub fn close_account_raw<'a>(
    dest_account_info: &AccountInfo<'a>,
    src_account_info: &AccountInfo<'a>
) -> Result<(), ProgramError>
Expand description

Close src_account and transfer lamports to dst_account, lifted from Solana Cookbook