Skip to content

Commit

Permalink
Merge pull request RustCrypto#149 from RustCrypto/digest/fix-benchmar…
Browse files Browse the repository at this point in the history
…k-dev-macro

digest: fix benchmark dev macro
  • Loading branch information
tarcieri authored May 27, 2020
2 parents e80c309 + 8ceead6 commit d8c0b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digest/src/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ macro_rules! bench {
let data = [0; $bs];

b.iter(|| {
d.input(&data[..]);
d.update(&data[..]);
});

b.bytes = $bs;
Expand Down

0 comments on commit d8c0b4d

Please sign in to comment.