Skip to content

feat: upgrade to Rust 2024 edition#7

Merged
sonesuke merged 1 commit intomainfrom
feat/rust-2024-edition
Mar 7, 2026
Merged

feat: upgrade to Rust 2024 edition#7
sonesuke merged 1 commit intomainfrom
feat/rust-2024-edition

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

@sonesuke sonesuke commented Mar 7, 2026

This PR upgrades the Rust edition from 2021 to 2024.

Changes

  • Updated edition field in Cargo.toml from "2021" to "2024"
  • Fixed clippy warnings for collapsible if statements using let-else chains

Rust 2024 Edition Benefits

  • Let-else chains for more ergonomic error handling
  • Improved if let chains
  • Better pattern matching ergonomics
  • Various other language improvements

Testing

All 66 unit tests and 13 doc tests pass.

🤖 Generated with Claude Code

Upgrade from Rust 2021 to Rust 2024 edition. This edition includes:
- Let-else chains for more ergonomic error handling
- Improved if let chains
- Various other language improvements

All 66 tests pass with no code changes required beyond
clippy-suggested collapsible if statements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonesuke sonesuke force-pushed the feat/rust-2024-edition branch from ca03f40 to e3b2912 Compare March 7, 2026 15:13
@sonesuke sonesuke merged commit 0ab931a into main Mar 7, 2026
5 checks passed
@sonesuke sonesuke deleted the feat/rust-2024-edition branch March 7, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant