@@ -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
@@ -3544,7 +3543,6 @@ impl<T> [T] {
35443543 /// assert_eq!(basic_simd_sum(&numbers[1..99]), 4949.0);
35453544 /// ```
35463545 #[ unstable( feature = "portable_simd" , issue = "86656" ) ]
3547- #[ cfg( not( all( miri, doctest) ) ) ] // Miri skips SIMD doctests
35483546 pub fn as_simd < const LANES : usize > ( & self ) -> ( & [ T ] , & [ Simd < T , LANES > ] , & [ T ] )
35493547 where
35503548 Simd < T , LANES > : AsRef < [ T ; LANES ] > ,
@@ -3588,7 +3586,6 @@ impl<T> [T] {
35883586 /// be lifted in a way that would make it possible to see panics from this
35893587 /// method for something like `LANES == 3`.
35903588 #[ unstable( feature = "portable_simd" , issue = "86656" ) ]
3591- #[ cfg( not( all( miri, doctest) ) ) ] // Miri skips SIMD doctests
35923589 pub fn as_simd_mut < const LANES : usize > ( & mut self ) -> ( & mut [ T ] , & mut [ Simd < T , LANES > ] , & mut [ T ] )
35933590 where
35943591 Simd < T , LANES > : AsMut < [ T ; LANES ] > ,
0 commit comments