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

Change with_* methods of partial objects to accept Option #1171

Merged
merged 20 commits into from
Oct 5, 2022
Merged

Conversation

hannobraun
Copy link
Owner

From the documentation:

Values provided to with_* are usually wrapped in an Option, and only a Some(...) value has any effect. This is a trade-off that makes most use cases slightly more verbose, while significantly simplifying more complex use cases.

@hannobraun hannobraun enabled auto-merge October 5, 2022 13:47
@hannobraun hannobraun merged commit 24a1c7e into main Oct 5, 2022
@hannobraun hannobraun deleted the partial branch October 5, 2022 13:50
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