Skip to content

Update Rust extension to edition 2024#1183

Merged
tbeswick96 merged 1 commit intomainfrom
rust-extension-edition-2024
Mar 13, 2026
Merged

Update Rust extension to edition 2024#1183
tbeswick96 merged 1 commit intomainfrom
rust-extension-edition-2024

Conversation

@tbeswick96
Copy link
Member

Summary

  • Bump Cargo edition from 2021 to 2024
  • Collapse nested if let blocks into let chains (stabilised in edition 2024)
  • Simplify localhost check in listener using is_some_and instead of dual matches! calls

Test plan

  • cargo clippy --release — zero warnings
  • cargo test — all 29 tests pass
  • cargo build --release — clean build

🤖 Generated with Claude Code

Bump Cargo edition from 2021 to 2024, enabling let chains for
cleaner nested if-let patterns. Simplify localhost check in
listener using is_some_and instead of dual matches! calls.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tbeswick96 tbeswick96 merged commit 2c5012a into main Mar 13, 2026
2 checks passed
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