diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ceceeba..c3750839 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.80" # STABLE + toolchain: "1.82.0" # STABLE - uses: Swatinem/rust-cache@v2 - name: Check documentation env: @@ -120,7 +120,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.80" # STABLE + toolchain: "1.82.0" # STABLE components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -136,7 +136,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.80" # STABLE + toolchain: "1.82.0" # STABLE components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools 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);