Skip to content

Commit c0a2c1d

Browse files
committed
clippy
1 parent c227a1e commit c0a2c1d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/shims/intrinsics/simd.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
458458
dest.layout.ty
459459
)
460460
})?
461-
.into()
462461
}
463462
(ty::Float(FloatTy::F64), ty::Int(_) | ty::Uint(_)) if unsafe_cast => {
464463
let f = op.to_scalar().to_f64()?;
@@ -469,7 +468,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
469468
dest.layout.ty
470469
)
471470
})?
472-
.into()
473471
}
474472
// Ptr-to-ptr cast
475473
(ty::RawPtr(..), ty::RawPtr(..)) if ptr_cast =>

0 commit comments

Comments
 (0)