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 1
1
#![ no_std]
2
2
#![ feature(
3
- core_intrinsics,
4
3
const_intrinsic_copy,
5
4
const_refs_to_cell,
6
5
const_maybe_uninit_as_mut_ptr,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ mod sealed {
33
33
34
34
fn eq ( self , other : Self ) -> bool ;
35
35
36
- fn as_usize ( self ) -> usize ;
36
+ fn to_usize ( self ) -> usize ;
37
37
38
38
type Unsigned : SimdElement ;
39
39
@@ -65,7 +65,7 @@ macro_rules! impl_element {
65
65
fn eq( self , other: Self ) -> bool { self == other }
66
66
67
67
#[ inline]
68
- fn as_usize ( self ) -> usize {
68
+ fn to_usize ( self ) -> usize {
69
69
self as usize
70
70
}
71
71
@@ -394,7 +394,7 @@ where
394
394
if min_index. eq ( T :: TRUE ) {
395
395
None
396
396
} else {
397
- Some ( min_index. as_usize ( ) )
397
+ Some ( min_index. to_usize ( ) )
398
398
}
399
399
}
400
400
}
You can’t perform that action at this time.
0 commit comments