Skip to content

Commit b3cef38

Browse files
committed
units: Add semicolon
Clippy lint `semi_colon_if_nothing_returned` is firing. Add a semicolon as requested.
1 parent cdc0675 commit b3cef38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/hash_types/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl str::FromStr for HashType {
5454
impl fmt::Debug for HashType {
5555
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
5656
for byte in self.as_byte_array() {
57-
write!(f, "{:02x}", byte)?
57+
write!(f, "{:02x}", byte)?;
5858
}
5959
Ok(())
6060
}

0 commit comments

Comments
 (0)