Skip to content

Commit 7e2f1ea

Browse files
committed
Fix more docs
1 parent addf30e commit 7e2f1ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdk/pubkey/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use sha2_const_stable::Sha256;
2424
/// In general, the derivation uses an optional bump (byte) value to ensure a
2525
/// valid PDA (off-curve) is generated. Even when a program stores a bump to
2626
/// derive a program address, it is necessary to use the
27-
/// [`pinocchio::pubkey::create_program_address`] to validate the derivation. In
27+
/// `Address::create_program_address` to validate the derivation. In
2828
/// most cases, the program has the correct seeds for the derivation, so it would
2929
/// be sufficient to just perform the derivation and compare it against the
3030
/// expected resulting address.
@@ -36,7 +36,7 @@ use sha2_const_stable::Sha256;
3636
///
3737
/// # Important
3838
///
39-
/// This function differs from [`pinocchio::pubkey::create_program_address`] in that
39+
/// This function differs from `Address::create_program_address` in that
4040
/// it does not perform a validation to ensure that the derived address is a valid
4141
/// (off-curve) program derived address. It is intended for use in cases where the
4242
/// seeds, bump, and program id are known to be valid, and the caller wants to derive
@@ -115,7 +115,7 @@ pub fn derive_address<const N: usize>(
115115
///
116116
/// # Important
117117
///
118-
/// This function differs from [`pinocchio::pubkey::create_program_address`] in that
118+
/// This function differs from `Address::create_program_address` in that
119119
/// it does not perform a validation to ensure that the derived address is a valid
120120
/// (off-curve) program derived address. It is intended for use in cases where the
121121
/// seeds, bump, and program id are known to be valid, and the caller wants to derive
@@ -176,7 +176,7 @@ macro_rules! declare_id {
176176
};
177177
}
178178

179-
/// Create a `Pubkey` from a `&str`.
179+
/// Create an `Address` from a `&str`.
180180
#[cfg(feature = "const")]
181181
#[inline(always)]
182182
pub const fn from_str(value: &str) -> Address {

0 commit comments

Comments
 (0)