Skip to content
Snippets Groups Projects
Verified Commit 76dab936 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: removed extra variable

parent 8ee55062
No related branches found
No related tags found
No related merge requests found
Pipeline #4880 passed
......@@ -38,8 +38,7 @@ fn benchmark_encoding(c: &mut Criterion) {
group.bench_function("encrypt_rc4", |b| {
b.iter(|| {
let encoded = encrypt_rc4(black_box(&mut data), b"testkey").unwrap();
black_box(encoded);
encrypt_rc4(black_box(&mut data), b"testkey").unwrap();
})
});
......@@ -81,8 +80,7 @@ fn benchmark_decoding(c: &mut Criterion) {
group.bench_function("decrypt_rc4", |b| {
b.iter(|| {
let encoded = decrypt_rc4(black_box(&mut data), b"testkey").unwrap();
black_box(encoded);
decrypt_rc4(black_box(&mut data), b"testkey").unwrap();
})
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment