-
Notifications
You must be signed in to change notification settings - Fork 90
Derive Copy for MatchOptions struct
#71
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
Conversation
|
Hi @g-s-k 👋 Thanks for taking the time to do some cleanup here. I'll just have to check that we haven't bumped the minimum version of rustc that's needed to build the library too far because of any |
|
@KodrAus good point - please let me know if/how i can help with that. |
|
hi @KodrAus - just wanted to bump this. I installed rust stable |
|
I've done a more thorough check now. Here's what I found:
All but the last line indeed apply to this PR - how far back do you need to remain compatible? |
|
@g-s-k Sorry for dropping the ball on this one, and thanks for checking this out!
|
KodrAus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for cleaning this up!
|
Happy to help! |
MatchOptionscontains 3 boolean values, which areCopy. It would be nice to be able to pass it by-value (rather than borrow it or create a new one on each function call).Also included in this PR:
::std::ascii::AsciiExt)clippy::pedanticand fixed all of its recommendations (don't worry, turned it off afterward)macosthat counts on a/rootdirectory (my install does not have one)