Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply new clippy::ref_option lint to Config::new API #2192

Merged
merged 4 commits into from
Oct 6, 2024

Conversation

jqnatividad
Copy link
Owner

Config::new is universally used in qsv, affecting all commands.

https://rust-lang.github.io/rust-clippy/master/index.html#/ref_option

And this video makes a compelling case for it...
https://www.youtube.com/watch?v=6c7pZYP_iIE

@jqnatividad jqnatividad merged commit cb99491 into master Oct 6, 2024
13 of 14 checks passed
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