Skip to content

Fixed compiler warnings and lints added in Rust 1.89#975

Merged
maciejdudko merged 1 commit into
temporalio:masterfrom
maciejdudko:lints-rust-1.89
Aug 12, 2025
Merged

Fixed compiler warnings and lints added in Rust 1.89#975
maciejdudko merged 1 commit into
temporalio:masterfrom
maciejdudko:lints-rust-1.89

Conversation

@maciejdudko
Copy link
Copy Markdown
Contributor

What was changed

Fixed compiler warnings and lints added in Rust 1.89, specifically:

  • Hidden lifetimes warning
  • Flattening if-let chains
  • Using std::slice::from_ref to avoid cloning

Why?

Removes warnings from compiler output, and CI would start failing when we upgrade to Rust 1.89.

Checklist

  1. How was this tested:
    Ran cargo lint and cargo test-lint locally using Rust 1.89.

@maciejdudko maciejdudko requested a review from a team as a code owner August 11, 2025 18:40
@maciejdudko maciejdudko merged commit 8dd4a20 into temporalio:master Aug 12, 2025
50 of 57 checks passed
@maciejdudko maciejdudko deleted the lints-rust-1.89 branch August 12, 2025 13:26
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.

2 participants