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

bugfix(avoid ambiguous as_ref call) #718

Merged
merged 1 commit into from
Jul 1, 2019
Merged

Conversation

laser
Copy link
Contributor

@laser laser commented Jul 1, 2019

Fixes #717

Why is this PR needed?

A recent change causes the type checker to overflow due to the as_ref() call being ambiguous.

What's in this PR?

This changeset modifies the way that the &mut Read is constructed from the owned vector such that the type checker doesn't explode.

Relevant Links

@laser laser marked this pull request as ready for review July 1, 2019 22:35
@laser laser merged commit f0cae12 into master Jul 1, 2019
@laser laser deleted the bugs/717-type-checker-overflow branch July 1, 2019 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants