Run cargo +nightly fmt

No manual changes.
This commit is contained in:
Tobin C. Harding 2024-08-12 20:17:43 +10:00
parent 9c4a629659
commit 100ce03643
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 86 additions and 86 deletions

View File

@ -358,7 +358,7 @@ impl CompactTarget {
mod tmp {
use super::*;
impl CompactTarget {
impl CompactTarget {
/// Creates a `CompactTarget` from a prefixed hex string.
pub fn from_hex(s: &str) -> Result<Self, PrefixedHexError> {
let target = parse::hex_u32_prefixed(s)?;
@ -446,7 +446,7 @@ impl CompactTarget {
let bits = current.bits;
CompactTarget::from_next_work_required(bits, timespan.into(), params)
}
}
}
}
impl From<CompactTarget> for Target {