Skip to content

lint: more clippy#422

Merged
KSXGitHub merged 2 commits into
masterfrom
claude/nice-faraday-ogDCp
May 22, 2026
Merged

lint: more clippy#422
KSXGitHub merged 2 commits into
masterfrom
claude/nice-faraday-ogDCp

Conversation

@KSXGitHub

@KSXGitHub KSXGitHub commented May 22, 2026

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 2 commits May 22, 2026 07:28
Enable `clippy::clone_on_ref_ptr`, `clippy::if_then_some_else_none`, and
`clippy::unnecessary_lazy_evaluations` as warnings, which the existing
`cargo clippy -- -D warnings` invocation in `test.sh` promotes to hard
errors in CI. Disable `perfectionist::arc_rc_clone` in `dylint.toml`
because `clippy::clone_on_ref_ptr` now covers the same ground in the
default lint pass.

Apply the single resulting code fix in `App::run`, replacing an
`if`/`else` that produced `Some(1)`/`None` with `.then(|| ...)`.
@KSXGitHub KSXGitHub marked this pull request as ready for review May 22, 2026 10:22
@KSXGitHub KSXGitHub merged commit 7f9b49c into master May 22, 2026
15 checks passed
@KSXGitHub KSXGitHub deleted the claude/nice-faraday-ogDCp branch May 22, 2026 10:23
@github-actions

github-actions Bot commented May 22, 2026

Copy link
Copy Markdown

Performance Regression Reports

commit: f7cc4a6

There are no regressions.

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