Skip to content

Commit 2533f7f

Browse files
committed
Bump Rust version to 1.90
1 parent 156c6a0 commit 2533f7f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
23-
- run: rustup default 1.89
23+
- run: rustup default 1.90
2424
- run: cargo test
2525

2626
test-nightly:

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
url: ${{ steps.deployment.outputs.page_url }}
1919
steps:
2020
- uses: actions/checkout@v4
21-
- run: rustup default 1.89
21+
- run: rustup default 1.90
2222
- run: cargo doc
2323
env:
2424
RUSTDOCFLAGS: "--document-private-items --default-theme=ayu --deny warnings"

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "aoc"
33
version = "2024.12.25"
44
edition = "2024"
5-
rust-version = "1.89"
5+
rust-version = "1.90"
66

77
# Speed up benchmarking by not recompiling everything when only a single file changes.
88
[profile.bench]
@@ -271,7 +271,6 @@ string_add = "warn"
271271
string_add_assign = "warn"
272272
string_lit_chars_any = "warn"
273273
string_slice = "allow"
274-
string_to_string = "allow"
275274
struct_excessive_bools = "warn"
276275
struct_field_names = "warn"
277276
suspicious_xor_used_as_pow = "warn"

src/year2015/day17.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub fn part2(input: &[u32]) -> u32 {
7171
/// `containers`: Number of containers used so far
7272
/// `litres`: How many litres of eggnog stored so far
7373
/// `factor`: The total different number of ways of selecting previous containers
74+
#[expect(clippy::needless_range_loop)]
7475
fn combinations(state: &mut State, index: usize, containers: usize, litres: u32, factor: u32) {
7576
let n = state.freq[index];
7677
let mut next = litres;

0 commit comments

Comments
 (0)