@@ -842,14 +842,14 @@ macro_rules! s(
842
842
}
843
843
} ;
844
844
// empty call, i.e. `s![]`
845
- ( @parse :: std :: marker:: PhantomData :: <$crate:: Ix0 >, :: std :: marker:: PhantomData :: <$crate:: Ix0 >, [ ] ) => {
845
+ ( @parse :: core :: marker:: PhantomData :: <$crate:: Ix0 >, :: core :: marker:: PhantomData :: <$crate:: Ix0 >, [ ] ) => {
846
846
{
847
847
#[ allow( unsafe_code) ]
848
848
unsafe {
849
849
$crate:: SliceInfo :: new_unchecked(
850
850
[ ] ,
851
- :: std :: marker:: PhantomData :: <$crate:: Ix0 >,
852
- :: std :: marker:: PhantomData :: <$crate:: Ix0 >,
851
+ :: core :: marker:: PhantomData :: <$crate:: Ix0 >,
852
+ :: core :: marker:: PhantomData :: <$crate:: Ix0 >,
853
853
)
854
854
}
855
855
}
@@ -858,18 +858,18 @@ macro_rules! s(
858
858
( @parse $( $t: tt) * ) => { compile_error!( "Invalid syntax in s![] call." ) } ;
859
859
// convert range/index/new-axis into SliceInfoElem
860
860
( @convert $r: expr) => {
861
- <$crate:: SliceInfoElem as :: std :: convert:: From <_>>:: from( $r)
861
+ <$crate:: SliceInfoElem as :: core :: convert:: From <_>>:: from( $r)
862
862
} ;
863
863
// convert range/index/new-axis and step into SliceInfoElem
864
864
( @convert $r: expr, $s: expr) => {
865
- <$crate:: SliceInfoElem as :: std :: convert:: From <_>>:: from(
866
- <$crate:: Slice as :: std :: convert:: From <_>>:: from( $r) . step_by( $s as isize )
865
+ <$crate:: SliceInfoElem as :: core :: convert:: From <_>>:: from(
866
+ <$crate:: Slice as :: core :: convert:: From <_>>:: from( $r) . step_by( $s as isize )
867
867
)
868
868
} ;
869
869
( $( $t: tt) * ) => {
870
870
$crate:: s![ @parse
871
- :: std :: marker:: PhantomData :: <$crate:: Ix0 >,
872
- :: std :: marker:: PhantomData :: <$crate:: Ix0 >,
871
+ :: core :: marker:: PhantomData :: <$crate:: Ix0 >,
872
+ :: core :: marker:: PhantomData :: <$crate:: Ix0 >,
873
873
[ ]
874
874
$( $t) *
875
875
]
0 commit comments