Skip to content

Commit

Permalink
Fix name of benchmark function of Unicode encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
qsantos committed Jun 22, 2024
1 parent 4bcabfc commit 1162258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn ascii_benchmark(c: &mut Criterion) {
group.finish();
}

fn standard_benchmark(c: &mut Criterion) {
fn unicode_benchmark(c: &mut Criterion) {
let data = std::fs::read_to_string("4-unicode.txt").unwrap();
let mut f = std::fs::File::open("4-unicode.txt").unwrap();
let mut devnull = std::fs::File::create("/dev/null").unwrap();
Expand Down

0 comments on commit 1162258

Please sign in to comment.