typo · rust-lang/rust@681dc38 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 681dc38

RalfJunglqd

and

authored

typo

Co-authored-by: Rémy Rakic remy.rakic+github@gmail.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -297,7 +297,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
297 297 FloatTy::F128 => unimplemented!("f16_f128"),
298 298 }
299 299 }
300 -// unsiged int -> float
300 +// unsigned int -> float
301 301 Float(fty) => match fty {
302 302 FloatTy::F16 => unimplemented!("f16_f128"),
303 303 FloatTy::F32 => Scalar::from_f32(Single::from_u128(v).value),