diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-08 12:13:32 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-08 13:06:11 +0100 |
| commit | 38c5c362419c5eee7a4fdc0b43d3a9dfb339a6d2 (patch) | |
| tree | 51faa3f6bbc56f75636823adeea135ed76e1b33b /benches | |
| parent | 75fffc1f9b6ef8bf258b2b1845a4ba74a0f5f2c1 (diff) | |
Final touches
Diffstat (limited to 'benches')
| -rw-r--r-- | benches/oneshot.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benches/oneshot.rs b/benches/oneshot.rs index 63f201ac..bb385688 100644 --- a/benches/oneshot.rs +++ b/benches/oneshot.rs @@ -44,11 +44,11 @@ fn bench_scan(iai: &mut Iai) { } fn bench_tokenize(iai: &mut Iai) { - iai.run(|| Tokens::new(black_box(&SRC), black_box(TokenMode::Markup)).count()); + iai.run(|| Tokens::new(black_box(SRC), black_box(TokenMode::Markup)).count()); } fn bench_parse(iai: &mut Iai) { - iai.run(|| parse(&SRC)); + iai.run(|| parse(SRC)); } fn bench_eval(iai: &mut Iai) { |
