Skip to content

Commit 13bd5d3

Browse files
committed
cargo fmt
1 parent cc1814b commit 13bd5d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ fn deserialize_hex<T: Decodable>(hex: &str) -> Result<T> {
4242
let mut reader = HexIterator::new(&hex)?;
4343
let object = Decodable::consensus_decode(&mut reader)?;
4444
if reader.read_u8().is_ok() {
45-
Err(Error::BitcoinSerialization(bitcoin::consensus::encode::Error::ParseFailed("data not consumed entirely when explicitly deserializing")))
45+
Err(Error::BitcoinSerialization(bitcoin::consensus::encode::Error::ParseFailed(
46+
"data not consumed entirely when explicitly deserializing",
47+
)))
4648
} else {
4749
Ok(object)
4850
}
49-
}
51+
}

0 commit comments

Comments
 (0)