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

update!: changed parameter type of OptCfg::with #36

Merged
merged 1 commit into from
Aug 11, 2024
Merged

Conversation

sttk
Copy link
Owner

@sttk sttk commented Aug 11, 2024

This PR changes the parameter type of OptCfg::with from &[OptCfgParam] to impl IntoIterator<Item = OptCfgParam> because it make enable to remove & before [] like OptCfg::with([store_key("foo")]) instead of OptCfg::with(&[store_key("foo")]).

@sttk sttk merged commit 85aa49a into main Aug 11, 2024
7 checks passed
@sttk sttk deleted the change-opt-cfg branch August 11, 2024 08:49
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