Fix for error on latest rustc nightly.

Closes #3.