summaryrefslogtreecommitdiffstats
path: root/benches
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-04-01 07:48:03 +0200
committerCanop <cano.petrole@gmail.com>2020-04-01 07:48:03 +0200
commitb639432ea198f77a3fb286086e994ba1a80f42e1 (patch)
treec08be9f38b4557331c189ea96bfdc877be3cd14a /benches
parent8015fa9ab19539ccb33e2bf69aee58c9827f9128 (diff)
fix bench/fuzzy compilation
Diffstat (limited to 'benches')
-rw-r--r--benches/fuzzy.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/benches/fuzzy.rs b/benches/fuzzy.rs
index 0bcffd5..c5abfbf 100644
--- a/benches/fuzzy.rs
+++ b/benches/fuzzy.rs
@@ -1,7 +1,14 @@
-use criterion::{black_box, criterion_group, criterion_main, Criterion};
+use {
+ broot::pattern::FuzzyPattern,
+ criterion::{
+ black_box,
+ criterion_group,
+ criterion_main,
+ Criterion,
+ },
+};
-use broot::fuzzy_patterns::FuzzyPattern;
static PATTERNS: &[&str] = &["réveil", "broot", "AB", "é"];
// this list contains 100 names, which makes it easier to estimate the duration