From 7585c073a605a1d563f58ef9f17eb5a5bc966c92 Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Mon, 24 Aug 2026 16:29:56 +0700 Subject: [PATCH] fix(clippy): use as_chunks instead of chunks_exact --- crates/irtt-server/src/fill.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/irtt-server/src/fill.rs b/crates/irtt-server/src/fill.rs index 82f89a7..491ece2 100644 --- a/crates/irtt-server/src/fill.rs +++ b/crates/irtt-server/src/fill.rs @@ -115,7 +115,7 @@ fn parse_hex_pattern(body: &str) -> Option> { return None; } digits - .chunks_exact(2) + .as_chunks::<2>() .map(|pair| Some(hex_digit(pair[0])? << 4 | hex_digit(pair[1])?)) .collect() }