style: Fix benchmark names

This commit is contained in:
Ed Page 2019-11-02 09:38:32 -06:00
parent 107308a655
commit 19321d9e48

View file

@ -52,32 +52,32 @@ fn bench_split_lines(data: &str, b: &mut test::Bencher) {
} }
#[bench] #[bench]
fn parse_words_lines_empty(b: &mut test::Bencher) { fn parse_lines_empty(b: &mut test::Bencher) {
bench_split_lines(data::EMPTY, b); bench_split_lines(data::EMPTY, b);
} }
#[bench] #[bench]
fn parse_words_lines_no_tokens(b: &mut test::Bencher) { fn parse_lines_no_tokens(b: &mut test::Bencher) {
bench_split_lines(data::NO_TOKENS, b); bench_split_lines(data::NO_TOKENS, b);
} }
#[bench] #[bench]
fn parse_words_lines_single_token(b: &mut test::Bencher) { fn parse_lines_single_token(b: &mut test::Bencher) {
bench_split_lines(data::SINGLE_TOKEN, b); bench_split_lines(data::SINGLE_TOKEN, b);
} }
#[bench] #[bench]
fn parse_words_lines_sherlock(b: &mut test::Bencher) { fn parse_lines_sherlock(b: &mut test::Bencher) {
bench_split_lines(data::SHERLOCK, b); bench_split_lines(data::SHERLOCK, b);
} }
#[bench] #[bench]
fn parse_words_lines_code(b: &mut test::Bencher) { fn parse_lines_code(b: &mut test::Bencher) {
bench_split_lines(data::CODE, b); bench_split_lines(data::CODE, b);
} }
#[bench] #[bench]
fn parse_words_lines_corpus(b: &mut test::Bencher) { fn parse_lines_corpus(b: &mut test::Bencher) {
bench_split_lines(data::CORPUS, b); bench_split_lines(data::CORPUS, b);
} }