From 681dc3828344ab79d34f356a9c08e685ed5ac236 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 4 Mar 2024 23:18:02 +0100 Subject: [PATCH] typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémy Rakic --- compiler/rustc_const_eval/src/interpret/cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_const_eval/src/interpret/cast.rs b/compiler/rustc_const_eval/src/interpret/cast.rs index d291f9e59185f..2cebea9d145bb 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),