MAINT: Port to Rust 2018 edition

This commit is contained in:
bluss
2019-09-02 22:07:30 +02:00
parent f952e2c788
commit e86a32d454
6 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ pub unsafe trait Array {
pub trait Index : PartialEq + Copy {
fn to_usize(self) -> usize;
fn from(usize) -> Self;
fn from(_: usize) -> Self;
}
impl Index for () {