Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Apr 10, 2021
1 parent d2e403b commit afabf84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ serde_derive = "1.0"
smallvec = { version = "1.6", features = ["serde"] }

[dev-dependencies]
criterion = "0.3"
criterion = { version = "0.3", features = ["html_reports"]}

[[bench]]
name = "bench_idl"
Expand Down
4 changes: 2 additions & 2 deletions benches/bench_idl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ fn do_bench_duplex(c: &mut Criterion, label: &str, i: Duplex) {
IDLBitRange::from_iter(i.1.clone()),
);

let mut v2i = V2Duplex(
let v2i = V2Duplex(
IDLBitRangeV2::from_iter(i.0.clone()),
IDLBitRangeV2::from_iter(i.1.clone()),
);
Expand All @@ -172,7 +172,7 @@ fn do_bench_duplex(c: &mut Criterion, label: &str, i: Duplex) {

group.finish();

let mut v2i = V2Duplex(
let v2i = V2Duplex(
IDLBitRangeV2::from_iter(i.0.clone()),
IDLBitRangeV2::from_iter(i.1.clone()),
);
Expand Down
3 changes: 2 additions & 1 deletion benches/idl_simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ impl AndNot for &IDLSimple {

#[cfg(test)]
mod tests {
use super::{AndNot, IDLSimple};
use super::IDLSimple;
use idlset::AndNot;
use std::iter::FromIterator;

#[test]
Expand Down

0 comments on commit afabf84

Please sign in to comment.