We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb81c1 commit 9cd900cCopy full SHA for 9cd900c
src/utils.rs
@@ -5,7 +5,7 @@ pub fn to_hex(sha: &Sha256) -> String {
5
let bytes = sha.as_slice();
6
let mut result = String::new();
7
for byte in bytes {
8
- result.push_str(&format!("{byte:0<2x}"));
+ result.push_str(&format!("{byte:0>2x}"));
9
}
10
result
11
0 commit comments