Skip to content

Commit a5ce993

Browse files
Changed rustfmt_skip declaration
1 parent 2f30a73 commit a5ce993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/hasher.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl<R: Read> HashingReader<R> {
2020
rustfmt wanted to merge the lines together so had to use this
2121
to stop this from occurring
2222
*/
23-
#[rustfmt_skip]
23+
#[cfg_attr(rustfmt, rustfmt_skip)]
2424
#[allow(deprecated)]
2525
self.hasher.finish().unwrap()
2626
}

0 commit comments

Comments
 (0)