typo · rust-lang/rust@681dc38 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 681dc38
and
authored
typo
Co-authored-by: Rémy Rakic remy.rakic+github@gmail.com
File tree
1 file changed
lines changed
- compiler/rustc_const_eval/src/interpret
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), |