Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 26, 2024
1 parent ac2a55e commit 723558d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biscuit-auth/benches/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ fn verify_block_2(b: &mut Bencher) {
verifier.add_fact("resource(\"file1\")");
verifier.add_fact("operation(\"read\")");
verifier.allow();
verifier.authorize().unwrap();
let _ = verifier.authorize();

b.bytes = data.len() as u64;
b.iter(|| {
Expand All @@ -251,7 +251,7 @@ fn verify_block_2(b: &mut Bencher) {
verifier.add_fact("resource(\"file1\")");
verifier.add_fact("operation(\"read\")");
verifier.allow();
verifier.authorize().unwrap();
let _ = verifier.authorize();
});
}

Expand Down

0 comments on commit 723558d

Please sign in to comment.