FIX: Unused code warning in array trait

This commit is contained in:
bluss
2018-11-30 18:49:28 +01:00
parent 226de4c9ba
commit bf3b8c4f0f
+1 -1
View File
@@ -48,7 +48,7 @@ impl Index for () {
#[inline(always)] #[inline(always)]
fn to_usize(self) -> usize { 0 } fn to_usize(self) -> usize { 0 }
#[inline(always)] #[inline(always)]
fn from(ix: usize) -> Self { () } fn from(_ix: usize) -> Self { () }
} }
impl Index for bool { impl Index for bool {