From 1162258bf1fb3dc7f303fbc49e86d46a134d6371 Mon Sep 17 00:00:00 2001 From: Quentin Santos Date: Sat, 22 Jun 2024 15:27:28 +0200 Subject: [PATCH] Fix name of benchmark function of Unicode encoding --- benches/bench.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/bench.rs b/benches/bench.rs index b411611..cfded5b 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -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();