From fb89974b8233145892c517b79870c8195cdaa9b7 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 3 Sep 2024 10:56:59 +1000 Subject: [PATCH] Run the formatter Run `just fmt`. No manual changes. --- bitcoin/src/blockdata/transaction.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 071009808..cfa1533bb 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -947,14 +947,14 @@ impl Version { } mod tmp { -use super::*; -impl Version { - /// Creates a non-standard transaction version. - pub fn non_standard(version: i32) -> Version { Self(version) } + use super::*; + impl Version { + /// Creates a non-standard transaction version. + pub fn non_standard(version: i32) -> Version { Self(version) } - /// Returns true if this transaction version number is considered standard. - pub fn is_standard(&self) -> bool { *self == Version::ONE || *self == Version::TWO } -} + /// Returns true if this transaction version number is considered standard. + pub fn is_standard(&self) -> bool { *self == Version::ONE || *self == Version::TWO } + } } impl Encodable for Version {