Skip to content

feat: enforce if_same_then_else clippy lint#146

Merged
carterbs merged 1 commit intomainfrom
gardener/manual-runtime-52f20077e843a721
Mar 6, 2026
Merged

feat: enforce if_same_then_else clippy lint#146
carterbs merged 1 commit intomainfrom
gardener/manual-runtime-52f20077e843a721

Conversation

@carterbs
Copy link
Copy Markdown
Owner

@carterbs carterbs commented Mar 6, 2026

Enable and enforce the if_same_then_else clippy lint in the no-warnings check script. This lint detects redundant if-else branches that perform identical operations, improving code quality.

  • Add -W clippy::if_same_then_else to the clippy check in check-no-warnings.sh
  • Add test to verify the lint is explicitly enforced

@carterbs carterbs force-pushed the gardener/manual-runtime-52f20077e843a721 branch from e631116 to 927f579 Compare March 6, 2026 22:05
@carterbs carterbs merged commit ed00cfb into main Mar 6, 2026
2 of 3 checks passed
@carterbs carterbs deleted the gardener/manual-runtime-52f20077e843a721 branch March 6, 2026 22:08
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