Skip to content

fix(ledger): remove unnecessary to_string() in clippy warning#359

Open
fagemx wants to merge 1 commit intomainfrom
fix/clippy-349
Open

fix(ledger): remove unnecessary to_string() in clippy warning#359
fagemx wants to merge 1 commit intomainfrom
fix/clippy-349

Conversation

@fagemx
Copy link
Copy Markdown
Owner

@fagemx fagemx commented Mar 27, 2026

Summary

  • Remove unnecessary .to_string() call in sqlite_store.rs:6091 that triggers a clippy warning
  • HashSet<String>::contains accepts &str via the Borrow trait, so columns.contains(*col) works directly

Closes #349

Test plan

  • cargo clippy --all-targets passes with zero warnings
  • cargo test -p edda-ledger — all 151 tests pass

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

[bug] Clippy warning will fail CI with -Dwarnings

1 participant