Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit d07e127

Browse files
committed
Fix unusual indentation
A few lines of unusual indentation has crept into the code.
1 parent 2890e9e commit d07e127

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

src/sha256d.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ mod tests {
9494
use Hash;
9595
use HashEngine;
9696

97-
#[derive(Clone)]
97+
#[derive(Clone)]
9898
struct Test {
99-
input: &'static str,
100-
output: Vec<u8>,
101-
output_str: &'static str,
99+
input: &'static str,
100+
output: Vec<u8>,
101+
output_str: &'static str,
102102
}
103103

104-
#[test]
104+
#[test]
105105
fn test() {
106106
let tests = vec![
107107
// Test vector copied out of rust-bitcoin

src/sha256t.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,13 @@ mod tests {
262262

263263
#[test]
264264
fn test_sha256t() {
265-
assert_eq!(
266-
TestHash::hash(&[0]).to_hex(),
267-
"29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
268-
);
269-
assert_eq!(
270-
NewTypeHash::hash(&[0]).to_hex(),
271-
"29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
272-
);
265+
assert_eq!(
266+
TestHash::hash(&[0]).to_hex(),
267+
"29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
268+
);
269+
assert_eq!(
270+
NewTypeHash::hash(&[0]).to_hex(),
271+
"29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
272+
);
273273
}
274274
}

0 commit comments

Comments
 (0)