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

Fix for inference changes #2

Merged
merged 1 commit into from
Feb 3, 2017

Conversation

canndrew
Copy link
Contributor

@canndrew canndrew commented Feb 3, 2017

Hi,

Some recent future-compatibility testing showed up an issue in this crate. In the future, creating a value of type T where T is unspecified and can't be inferred will cause the compiler to either give an error or default T to ! (where it currently defaults to ()).

This PR makes it so you're explicitly querying for a ().

@dovahcrow
Copy link
Owner

Thanks!

@dovahcrow dovahcrow merged commit bebff7e into dovahcrow:master Feb 3, 2017
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.

2 participants