MAINT: Port to Rust 2018 edition
This commit is contained in:
+1
-1
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user