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

Add constructor function for all IntoDeserializer impls #2246

Merged
merged 1 commit into from Jul 11, 2022

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jul 11, 2022

For example StrDeserializer::<E>::new(str) is significantly clearer than IntoDeserializer::<E>::into_deserializer(str).

@dtolnay dtolnay merged commit 7e1486d into serde-rs:master Jul 11, 2022
21 checks passed
@dtolnay dtolnay deleted the valuedenew branch July 11, 2022 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant