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

Expose the various Read implementations #260

Merged
merged 1 commit into from Feb 21, 2017
Merged

Expose the various Read implementations #260

merged 1 commit into from Feb 21, 2017

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Feb 21, 2017

@dflemstr can you confirm that this would fix your use case in #259?

@dtolnay dtolnay requested a review from oli-obk February 21, 2017 05:02
/// - Deserializer::from_bytes
/// - Deserializer::from_iter
/// - Deserializer::from_reader
pub fn new(read: R) -> Self {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please note that for my use case, exposing just the types would be enough and these methods could still be private.

@oli-obk
Copy link
Member

oli-obk commented Feb 21, 2017

Exposing these functions has the advantage of confusing fewer ppl who upgrade.

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

3 participants