Skip to content

Commit 681dc38

Browse files
RalfJunglqd
andauthored
typo
Co-authored-by: Rémy Rakic <[email protected]>
1 parent 86e88fc commit 681dc38

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/interpret/cast.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
297297
FloatTy::F128 => unimplemented!("f16_f128"),
298298
}
299299
}
300-
// unsiged int -> float
300+
// unsigned int -> float
301301
Float(fty) => match fty {
302302
FloatTy::F16 => unimplemented!("f16_f128"),
303303
FloatTy::F32 => Scalar::from_f32(Single::from_u128(v).value),

0 commit comments

Comments
 (0)