Skip to content

Fix five Clippy warnings - #427

Merged
Tryanks merged 1 commit into
Tryanks:mainfrom
guivieiras:fix/clippy-warnings
Sep 14, 2026
Merged

Tryanks merged 1 commit into
Tryanks:mainfrom
guivieiras:fix/clippy-warnings

Conversation

@guivieiras

Copy link
Copy Markdown
Contributor

Strict workspace Clippy reported five warnings in approval/input validation, history-error handling, and terminal selection. Simplify the conditions so the check passes while preserving the same behavior. No lint exceptions or new abstractions are added.

The existing tests cover the affected behavior; no new tests were added for these equivalent expression changes.

Validation passed:

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo build --workspace --locked
  • cargo test --workspace --locked
  • cargo machete (0.9.2)
  • Web and Android checks with RUSTFLAGS='-D warnings'

macOS, Windows, and iOS checks are left to CI. Local iOS validation requires Xcode, unavailable on this Linux machine.

@guivieiras
guivieiras marked this pull request as ready for review September 13, 2026 20:01
@Tryanks
Tryanks merged commit a9fe47e into Tryanks:main Sep 14, 2026
6 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.

2 participants