Skip to content

Commit c55a1ce

Browse files
committed
Fix doc tests
1 parent 17d0edd commit c55a1ce

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

sdk/pinocchio/src/instruction.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ macro_rules! signer {
299299
///
300300
/// Creating seeds array and signer for a PDA with a single seed and bump value:
301301
/// ```
302-
/// use pinocchio::{seeds, instruction::Signer};
303-
/// use solana_Address;
302+
/// use pinocchio::{seeds, instruction::Signer, Address};
304303
///
305304
/// let pda_bump = 0xffu8;
306305
/// let pda_ref = &[pda_bump]; // prevent temporary value being freed

sdk/pinocchio/src/log.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
//! [`RpcClient::get_transaction`]: https://docs.rs/solana-rpc-client/latest/solana_rpc_client/rpc_client/struct.RpcClient.html#method.get_transaction
2929
//!
3030
//! While most logging functions are defined in this module, [`Address`]es can
31-
//! also be efficiently logged with the [`solana_address::log`] function.
31+
//! also be efficiently logged with the [`solana_address::Address::log`] function.
3232
//!
33-
//! [`Address`]: solana_Address
33+
//! [`Address`]: solana_address
3434
3535
use crate::account_info::AccountInfo;
3636

0 commit comments

Comments
 (0)