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 syntactic error on nightly Rust #14

Merged
merged 1 commit into from
Mar 5, 2017
Merged

Fix syntactic error on nightly Rust #14

merged 1 commit into from
Mar 5, 2017

Conversation

petrochenkov
Copy link
Contributor

The parentheses around Fn are actually a syntactic error, but they were accepted by mistake since Rust 1.6 (rust-lang/rust#39318). This will be fixed soon (rust-lang/rust#40043) and this code is going to stop compiling.

(P.S. -> () is not an error, it's just unnecessary.)

@mehcode
Copy link
Owner

mehcode commented Mar 5, 2017

@petrochenkov Good to know. Thanks for adjusting this.

@mehcode mehcode merged commit 2a64cff into mehcode:master Mar 5, 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