@@ -16,7 +16,6 @@ use crate::option::Option::{None, Some};
1616use crate :: ptr;
1717use crate :: result:: Result ;
1818use crate :: result:: Result :: { Err , Ok } ;
19- #[ cfg( not( all( miri, doctest) ) ) ] // Miri skips SIMD doctests
2019use crate :: simd:: { self , Simd } ;
2120use crate :: slice;
2221
@@ -3540,7 +3539,6 @@ impl<T> [T] {
35403539 /// assert_eq!(basic_simd_sum(&numbers[1..99]), 4949.0);
35413540 /// ```
35423541 #[ unstable( feature = "portable_simd" , issue = "86656" ) ]
3543- #[ cfg( not( all( miri, doctest) ) ) ] // Miri skips SIMD doctests
35443542 pub fn as_simd < const LANES : usize > ( & self ) -> ( & [ T ] , & [ Simd < T , LANES > ] , & [ T ] )
35453543 where
35463544 Simd < T , LANES > : AsRef < [ T ; LANES ] > ,
@@ -3584,7 +3582,6 @@ impl<T> [T] {
35843582 /// be lifted in a way that would make it possible to see panics from this
35853583 /// method for something like `LANES == 3`.
35863584 #[ unstable( feature = "portable_simd" , issue = "86656" ) ]
3587- #[ cfg( not( all( miri, doctest) ) ) ] // Miri skips SIMD doctests
35883585 pub fn as_simd_mut < const LANES : usize > ( & mut self ) -> ( & mut [ T ] , & mut [ Simd < T , LANES > ] , & mut [ T ] )
35893586 where
35903587 Simd < T , LANES > : AsMut < [ T ; LANES ] > ,
0 commit comments