Skip to content

Commit bf3b8c4

Browse files
committed
FIX: Unused code warning in array trait
1 parent 226de4c commit bf3b8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Index for () {
4848
#[inline(always)]
4949
fn to_usize(self) -> usize { 0 }
5050
#[inline(always)]
51-
fn from(ix: usize) -> Self { () }
51+
fn from(_ix: usize) -> Self { () }
5252
}
5353

5454
impl Index for bool {

0 commit comments

Comments
 (0)