Skip to content

fix: resolve clippy warnings for newer Rust versions#64

Merged
untitaker merged 1 commit intomainfrom
fix-clippy-warnings
Apr 23, 2026
Merged

fix: resolve clippy warnings for newer Rust versions#64
untitaker merged 1 commit intomainfrom
fix-clippy-warnings

Conversation

@untitaker
Copy link
Copy Markdown
Member

Summary

  • Mark testutils module as #[cfg(test)] to fix dead_code warning for FnStep struct
  • Add explicit '_ lifetime annotations to MetricTag::new and Metric::tags_iter to satisfy the mismatched_lifetime_syntaxes lint

These warnings are triggered by newer Rust/clippy versions and are currently blocking CI on open PRs (#61, #63).

Test plan

  • make lint passes locally
  • make test passes locally

🤖 Generated with Claude Code

- Mark testutils module as #[cfg(test)] since it's only used in tests
- Add explicit lifetime annotations to MetricTag::new and Metric::tags_iter
  to satisfy the mismatched_lifetime_syntaxes lint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@untitaker untitaker merged commit b46a2fe into main Apr 23, 2026
8 checks passed
@untitaker untitaker deleted the fix-clippy-warnings branch April 23, 2026 16:35
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