mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
globset: fix benchmarks
There were apparently a lot of unused things, including lazy_static.
This commit is contained in:
parent
98de8d248a
commit
f8fb65f7e3
@ -6,14 +6,9 @@ tool itself, see the benchsuite directory.
|
|||||||
|
|
||||||
extern crate glob;
|
extern crate glob;
|
||||||
extern crate globset;
|
extern crate globset;
|
||||||
#[macro_use]
|
|
||||||
extern crate lazy_static;
|
|
||||||
extern crate regex;
|
extern crate regex;
|
||||||
extern crate test;
|
extern crate test;
|
||||||
|
|
||||||
use std::ffi::OsStr;
|
|
||||||
use std::path::Path;
|
|
||||||
|
|
||||||
use globset::{Candidate, Glob, GlobMatcher, GlobSet, GlobSetBuilder};
|
use globset::{Candidate, Glob, GlobMatcher, GlobSet, GlobSetBuilder};
|
||||||
|
|
||||||
const EXT: &'static str = "some/a/bigger/path/to/the/crazy/needle.txt";
|
const EXT: &'static str = "some/a/bigger/path/to/the/crazy/needle.txt";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user