Skip to content

Commit 2f30a73

Browse files
Added rustfmt_skip to stop line merging
1 parent 7b8f65e commit 2f30a73

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/util/hasher.rs

+6-5
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ impl<R: Read> HashingReader<R> {
1616
}
1717

1818
pub fn finalize(mut self) -> Vec<u8> {
19+
/*
20+
rustfmt wanted to merge the lines together so had to use this
21+
to stop this from occurring
22+
*/
23+
#[rustfmt_skip]
1924
#[allow(deprecated)]
20-
#[allow(deprecated)] #[allow(deprecated)]
21-
#[allow(deprecated)] #[allow(deprecated)]
22-
#[allow(deprecated)]
23-
#[allow(deprecated)]
24-
#[allow(deprecated)] self.hasher.finish().unwrap()
25+
self.hasher.finish().unwrap()
2526
}
2627
}
2728

0 commit comments

Comments
 (0)