Skip to content

Commit c9159c9

Browse files
sayantnRalfJung
andauthored
fix typos
Co-authored-by: Ralf Jung <[email protected]>
1 parent a23f10a commit c9159c9

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_const_eval/src/interpret/intrinsics

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/interpret/intrinsics/simd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
771771
}
772772
let inv_shift_bits = u32::try_from(elem_size_bits - shift_bits).unwrap();
773773

774-
// A funnel shift left by S can be implemented as `(x << S) | y.unbounded_shr(SIZE - S)`
774+
// A funnel shift left by S can be implemented as `(x << S) | y.unbounded_shr(SIZE - S)`.
775775
// The `unbounded_shr` is needed because otherwise if `S = 0`, it would be `x | y`
776776
// when it should be `x`.
777777
//

0 commit comments

Comments
 (0)