From 68e15c623744e4a638f7101549480c829524c143 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 27 Aug 2026 08:59:13 +0200 Subject: [PATCH] Fix compiling benchmarks on 1.85 Somehow https://github.com/servo/string-cache/pull/306 was merged despite a failing CI job Signed-off-by: Simon Sapin --- integration-tests/benches/micro.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/benches/micro.rs b/integration-tests/benches/micro.rs index 3e8ceba..7c28cf5 100644 --- a/integration-tests/benches/micro.rs +++ b/integration-tests/benches/micro.rs @@ -188,7 +188,7 @@ fn bench_rand(bencher: &mut criterion::Bencher) { // shift into printable ASCII *n = (*n % 0x40) + 0x20; } - let s = str::from_utf8(&buf[..]).unwrap(); + let s = std::str::from_utf8(&buf[..]).unwrap(); black_box(TestAtom::from(s)); }) }