1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00

globset: fix benchmarks

There were apparently a lot of unused things, including lazy_static.
This commit is contained in:
Andrew Gallant 2020-01-27 16:45:12 -05:00
parent 98de8d248a
commit f8fb65f7e3
No known key found for this signature in database
GPG Key ID: B2E3A4923F8B0D44

View File

@ -6,14 +6,9 @@ tool itself, see the benchsuite directory.
extern crate glob;
extern crate globset;
#[macro_use]
extern crate lazy_static;
extern crate regex;
extern crate test;
use std::ffi::OsStr;
use std::path::Path;
use globset::{Candidate, Glob, GlobMatcher, GlobSet, GlobSetBuilder};
const EXT: &'static str = "some/a/bigger/path/to/the/crazy/needle.txt";