Skip to content

Fix syntactic error on nightly Rust#14

Merged
mehcode merged 1 commit into
mehcode:masterfrom
petrochenkov:master
Mar 5, 2017
Merged

Fix syntactic error on nightly Rust#14
mehcode merged 1 commit into
mehcode:masterfrom
petrochenkov:master

Conversation

@petrochenkov

Copy link
Copy Markdown
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

mehcode commented Mar 5, 2017

Copy link
Copy Markdown
Owner

@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