From c561d23a6105122a517c14394a46c3faab8e01b6 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 10 Feb 2020 22:58:31 +0100 Subject: [PATCH] remove outdated comment --- src/librustc_mir/interpret/operator.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librustc_mir/interpret/operator.rs b/src/librustc_mir/interpret/operator.rs index 9a3c08248b5ef..2e8c94903ca46 100644 --- a/src/librustc_mir/interpret/operator.rs +++ b/src/librustc_mir/interpret/operator.rs @@ -401,7 +401,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { (truncated, overflow || self.sign_extend(truncated, layout) != res) } }; - // res needs tuncating Ok((Scalar::from_uint(res, layout.size), overflow, layout.ty)) } }