File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11#![ no_std]
22#![ feature(
3- core_intrinsics,
43 const_intrinsic_copy,
54 const_refs_to_cell,
65 const_maybe_uninit_as_mut_ptr,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ mod sealed {
3333
3434 fn eq ( self , other : Self ) -> bool ;
3535
36- fn as_usize ( self ) -> usize ;
36+ fn to_usize ( self ) -> usize ;
3737
3838 type Unsigned : SimdElement ;
3939
@@ -65,7 +65,7 @@ macro_rules! impl_element {
6565 fn eq( self , other: Self ) -> bool { self == other }
6666
6767 #[ inline]
68- fn as_usize ( self ) -> usize {
68+ fn to_usize ( self ) -> usize {
6969 self as usize
7070 }
7171
@@ -394,7 +394,7 @@ where
394394 if min_index. eq ( T :: TRUE ) {
395395 None
396396 } else {
397- Some ( min_index. as_usize ( ) )
397+ Some ( min_index. to_usize ( ) )
398398 }
399399 }
400400}
You can’t perform that action at this time.
0 commit comments