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

Replace WrapOptions with Into<Options> #227

Merged
merged 4 commits into from
Nov 14, 2020
Merged

Replace WrapOptions with Into<Options> #227

merged 4 commits into from
Nov 14, 2020

Conversation

Kestrer
Copy link
Contributor

@Kestrer Kestrer commented Nov 13, 2020

It's fairly confusing to have a struct and a nearly-identical trait. By centering everything around the concrete Options type, the relationship between usize and Options can be made more clear.

@mgeisler
Copy link
Owner

Hey @Koxiaet, this is cool! Thank you — i agree that this makes things much clearer :-)

Can I get you to take out unrelated changes from your commits and also to squash the two commits into a single self-contained commit? I'll review the change now and try to point out what I mean.

src/core.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/splitting.rs Show resolved Hide resolved
@mgeisler
Copy link
Owner

I'm just trying to understand who the changes here affect the changes in #219 — I hope we can merge both soon and get a nice cleaned up API overall.

@mgeisler
Copy link
Owner

Thanks for the updates and explanations!

@mgeisler mgeisler merged commit ec9c37a into mgeisler:master Nov 14, 2020
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