Skip to content

Commit

Permalink
remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 10, 2020
1 parent d6c5a04 commit c561d23
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_mir/interpret/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
Expand Down

0 comments on commit c561d23

Please sign in to comment.