From abc014a079c51b8562a8a58927193e8c8f45aa36 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 28 Jul 2022 13:37:05 +1000 Subject: [PATCH] Move rustdoc above attribute It is customary in this repository to put the rustdoc above the attributes. --- src/blockdata/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockdata/transaction.rs b/src/blockdata/transaction.rs index b52c211e..9a689781 100644 --- a/src/blockdata/transaction.rs +++ b/src/blockdata/transaction.rs @@ -252,9 +252,9 @@ impl Default for TxIn { #[cfg_attr(feature = "serde", serde(crate = "actual_serde"))] pub struct Sequence(pub u32); +/// An error in creating relative lock-times. #[derive(Clone, PartialEq, Eq, Debug)] #[non_exhaustive] -/// An error in creating relative lock-times. pub enum RelativeLockTimeError { /// The input was too large IntegerOverflow(u32)