We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e06c49 commit 654ad52Copy full SHA for 654ad52
src/tools/miri/src/intrinsics/simd.rs
@@ -643,10 +643,8 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
643
assert_eq!(index_len as u64, dest_len);
644
645
for i in 0..dest_len {
646
- let src_index: u64 = index[usize::try_from(i).unwrap()]
647
- .unwrap_leaf()
648
- .to_u32()
649
- .into();
+ let src_index: u64 =
+ index[usize::try_from(i).unwrap()].unwrap_leaf().to_u32().into();
650
let dest = this.project_index(&dest, i)?;
651
652
let val = if src_index < left_len {
0 commit comments