From a28405fc4b2e3fd7025ae68d1a0d79a507b4e182 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 1 Nov 2024 15:29:44 -0500 Subject: [PATCH] style: Make clippy happy --- crates/anstyle-parse/tests/testsuite.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/anstyle-parse/tests/testsuite.rs b/crates/anstyle-parse/tests/testsuite.rs index 53b27c0e..2aa63a0d 100644 --- a/crates/anstyle-parse/tests/testsuite.rs +++ b/crates/anstyle-parse/tests/testsuite.rs @@ -244,7 +244,7 @@ advance!( fn gen_exceed_max_buffer_size() -> (Vec, Dispatcher) { static NUM_BYTES: usize = MAX_OSC_RAW + 100; static INPUT_START: &[u8] = &[0x1b, b']', b'5', b'2', b';', b's']; - static INPUT_END: &[u8] = &[b'\x07']; + static INPUT_END: &[u8] = b"\x07"; let mut input = INPUT_START.to_vec(); input.resize(INPUT_START.len() + NUM_BYTES, b'a'); input.extend(INPUT_END);