diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-04 23:18:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-04 23:18:02 +0100 |
| commit | 681dc3828344ab79d34f356a9c08e685ed5ac236 (patch) | |
| tree | c1f4a10ad9e43649f495901ec543cda871ab0f50 | |
| parent | 86e88fccd34ec30b95627a5b7d3707a2cc163d87 (diff) | |
| download | rust-681dc3828344ab79d34f356a9c08e685ed5ac236.tar.gz rust-681dc3828344ab79d34f356a9c08e685ed5ac236.zip | |
typo
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/cast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/cast.rs b/compiler/rustc_const_eval/src/interpret/cast.rs index d291f9e5918..2cebea9d145 100644 --- a/compiler/rustc_const_eval/src/interpret/cast.rs +++ b/compiler/rustc_const_eval/src/interpret/cast.rs @@ -297,7 +297,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { FloatTy::F128 => unimplemented!("f16_f128"), } } - // unsiged int -> float + // unsigned int -> float Float(fty) => match fty { FloatTy::F16 => unimplemented!("f16_f128"), FloatTy::F32 => Scalar::from_f32(Single::from_u128(v).value), |
