From f69363d71ad64046c7ebf94a603d6e923f66dd51 Mon Sep 17 00:00:00 2001 From: Lorenzo Maturano Date: Tue, 21 Feb 2023 16:58:22 -0300 Subject: [PATCH] adding suggested documentation for path arg --- bitcoin/src/bip32.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/bip32.rs b/bitcoin/src/bip32.rs index 1f6ee412..0f490e4b 100644 --- a/bitcoin/src/bip32.rs +++ b/bitcoin/src/bip32.rs @@ -683,7 +683,7 @@ impl ExtendedPubKey { /// Attempts to derive an extended public key from a path. /// - /// The `path` argument can be both of type `DerivationPath` or `AsRef`. + /// The `path` argument can be any type implementing `AsRef`, such as `DerivationPath`, for instance. pub fn derive_pub>( &self, secp: &Secp256k1,