From 326cb2bdbe0c948b76eb76232f648fd1346751ff Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 18 Dec 2024 18:37:11 -0500 Subject: [PATCH] ci: Update stable Rust and typos (#793) --- .github/workflows/ci.yml | 4 ++-- tree_arena/tests/basic_tests.rs | 2 ++ xilem_core/tests/array_sequence.rs | 2 ++ xilem_core/tests/tuple_sequence.rs | 2 ++ xilem_core/tests/vec_sequence.rs | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fb610dea..25443a8f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ env: # version like 1.70. Note that we only specify MAJOR.MINOR and not PATCH so that bugfixes still # come automatically. If the version specified here is no longer the latest stable version, # then please feel free to submit a PR that adjusts it along with the potential clippy fixes. - RUST_STABLE_VER: "1.82" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7 + RUST_STABLE_VER: "1.83" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7 # The purpose of checking with the minimum supported Rust toolchain is to detect its staleness. # If the compilation fails, then the version specified here needs to be bumped up to reality. # Be sure to also update the rust-version property in the workspace Cargo.toml file, @@ -452,4 +452,4 @@ jobs: uses: actions/checkout@v4 - name: Check typos - uses: crate-ci/typos@v1.27.0 + uses: crate-ci/typos@v1.28.3 diff --git a/tree_arena/tests/basic_tests.rs b/tree_arena/tests/basic_tests.rs index 5e1d63544..999f67195 100644 --- a/tree_arena/tests/basic_tests.rs +++ b/tree_arena/tests/basic_tests.rs @@ -1,6 +1,8 @@ // Copyright 2024 the Xilem Authors // SPDX-License-Identifier: Apache-2.0 +//! Tests for the [`TreeArena`]. + use std::mem; use tree_arena::*; diff --git a/xilem_core/tests/array_sequence.rs b/xilem_core/tests/array_sequence.rs index bba2de5d8..9b50a907e 100644 --- a/xilem_core/tests/array_sequence.rs +++ b/xilem_core/tests/array_sequence.rs @@ -1,6 +1,8 @@ // Copyright 2024 the Xilem Authors // SPDX-License-Identifier: Apache-2.0 +//! Tests for [`SequenceView`] with arrays. + #![expect( clippy::shadow_unrelated, reason = "Deferred: Noisy. Fix is to use scopes" diff --git a/xilem_core/tests/tuple_sequence.rs b/xilem_core/tests/tuple_sequence.rs index c9d9fcc90..0b56dc458 100644 --- a/xilem_core/tests/tuple_sequence.rs +++ b/xilem_core/tests/tuple_sequence.rs @@ -1,6 +1,8 @@ // Copyright 2024 the Xilem Authors // SPDX-License-Identifier: Apache-2.0 +//! Tests for [`SequenceView`] with tuples. + #![expect( clippy::shadow_unrelated, reason = "Deferred: Noisy. Fix is to use scopes" diff --git a/xilem_core/tests/vec_sequence.rs b/xilem_core/tests/vec_sequence.rs index 6e01df399..d9b851847 100644 --- a/xilem_core/tests/vec_sequence.rs +++ b/xilem_core/tests/vec_sequence.rs @@ -1,6 +1,8 @@ // Copyright 2024 the Xilem Authors // SPDX-License-Identifier: Apache-2.0 +//! Tests for [`SequenceView`] with vectors. + #![expect( clippy::shadow_unrelated, reason = "Deferred: Noisy. Fix is to use scopes"