Run the formatter

Run `just fmt`. No manual changes.
This commit is contained in:
Tobin C. Harding 2024-09-03 10:56:59 +10:00
parent bb3a3ecbaa
commit fb89974b82
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 7 additions and 7 deletions

View File

@ -947,14 +947,14 @@ impl Version {
}
mod tmp {
use super::*;
impl 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 }
}
}
}
impl Encodable for Version {