Skip to content

Conversation

@martinfrances107
Copy link
Contributor

status.done().then_some("line-through").unwrap_or_default()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: if status.done() { "line-through" } else { Default::default() }

Just for the record this is appearing in the buld artefacts of this currently active PR

#4118

 status.done().then_some("line-through").unwrap_or_default()
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if status.done() { "line-through" } else { Default::default() }`
@gbj gbj merged commit e767518 into leptos-rs:main Jun 28, 2025
12 checks passed
@martinfrances107 martinfrances107 deleted the new_clippy_rules branch June 28, 2025 20:41
@martinfrances107 martinfrances107 restored the new_clippy_rules branch June 28, 2025 20:48
@martinfrances107 martinfrances107 deleted the new_clippy_rules branch June 29, 2025 17:12
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