Skip to content

Conversation

@phrwlk
Copy link
Contributor

@phrwlk phrwlk commented Oct 24, 2025

Simplify the chained if-condition in print_function() to bind ret once and
remove the duplicated let Some(ret) = returns.

This resolves the clippy::nonminimal_bool warning by eliminating redundant
pattern matches while preserving behavior. The change makes the condition
clearer and keeps the code compliant with Clippy defaults.

@onbjerg onbjerg self-assigned this Oct 27, 2025
@onbjerg onbjerg added this pull request to the merge queue Oct 27, 2025
Merged via the queue into foundry-rs:master with commit 6ccbf56 Oct 27, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Oct 27, 2025
@grandizzy grandizzy moved this from Done to Completed in Foundry Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

2 participants