Skip to content

apply clippy::question_mark lint#938

Merged
not-fl3 merged 1 commit intonot-fl3:masterfrom
cyrgani:question-mark
Apr 5, 2025
Merged

apply clippy::question_mark lint#938
not-fl3 merged 1 commit intonot-fl3:masterfrom
cyrgani:question-mark

Conversation

@cyrgani
Copy link
Copy Markdown
Contributor

@cyrgani cyrgani commented Apr 5, 2025

Just another small code cleanup to replace

if foo.is_none() {
    return None;
}
foo.unwrap()

with

foo?

in several places.

@not-fl3
Copy link
Copy Markdown
Owner

not-fl3 commented Apr 5, 2025

I would rather not touch anything under /experimental, but if helps somehow - I can merge it, np!

@not-fl3 not-fl3 merged commit ea7ec56 into not-fl3:master Apr 5, 2025
6 checks passed
@cyrgani cyrgani deleted the question-mark branch April 5, 2025 20:21
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