From 164b72e07bfdb486e0714386937b53a4e41065bf Mon Sep 17 00:00:00 2001 From: Shing Him Ng Date: Fri, 12 Jul 2024 13:29:02 -0500 Subject: [PATCH] Update Key documentation --- bitcoin/src/psbt/raw.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bitcoin/src/psbt/raw.rs b/bitcoin/src/psbt/raw.rs index a3c4e61f3..8eed89e53 100644 --- a/bitcoin/src/psbt/raw.rs +++ b/bitcoin/src/psbt/raw.rs @@ -17,14 +17,15 @@ use crate::prelude::{DisplayHex, Vec}; use crate::psbt::Error; /// A PSBT key in its raw byte form. +/// +/// ` := ` #[derive(Debug, PartialEq, Hash, Eq, Clone, Ord, PartialOrd)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", serde(crate = "actual_serde"))] pub struct Key { /// The type of this PSBT key. pub type_value: u8, - /// The key itself in raw byte form. - /// ` := ` + /// The key data itself in raw byte form. #[cfg_attr(feature = "serde", serde(with = "crate::serde_utils::hex_bytes"))] pub key: Vec, }