Skip to content

Commit 190cad7

Browse files
committed
chore: format metadata.rs
1 parent 2bcce37 commit 190cad7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/metadata.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{ForcepError, Result, HashBytes};
1+
use crate::{ForcepError, HashBytes, Result};
22
use std::path;
33
use std::time;
44

@@ -125,7 +125,10 @@ impl Metadata {
125125
return Err(make_error("integrity", "expected generic binary subtype"));
126126
}
127127
if binary.bytes.len() != crate::hash::HASH_LEN {
128-
return Err(make_error("integrity", "integrity must contain HASH_LEN bytes"));
128+
return Err(make_error(
129+
"integrity",
130+
"integrity must contain HASH_LEN bytes",
131+
));
129132
}
130133
let mut integrity: HashBytes = [0u8; crate::hash::HASH_LEN];
131134
integrity.copy_from_slice(binary.bytes);

0 commit comments

Comments
 (0)