Skip to content

Commit

Permalink
Minor doc improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
daira authored Feb 20, 2025
1 parent ad86e14 commit bd769d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/registered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ impl SecretKey {
/// Constructs a key for a registered application protocol from its constituent parts.
///
/// This is a low-level API. The constructor must only be called with parts that were
/// obtained from previous calls to [`Self::data`] and [`Self::chain_code`].
/// obtained from previous calls to [`key.data()`][`Self::data`] and
/// [`key.chain_code()`][`Self::chain_code`] for some `key: registered::SecretKey`.
pub fn from_parts(sk: [u8; 32], chain_code: ChainCode) -> Self {
Self {
inner: HardenedOnlyKey::from_parts(sk, chain_code),
Expand Down

0 comments on commit bd769d9

Please sign in to comment.