Update src/librustc_mir/interpret/operand.rs

Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
This commit is contained in:
Ralf Jung 2019-02-16 14:52:34 +01:00 committed by GitHub
parent 7db96a37e7
commit bee3c670db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -580,7 +580,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
}
}
// Used when Miri runs into a constant, and (indirectly through lazy_const_to_op) by CTFE.
// Used when Miri runs into a constant, and by CTFE.
pub fn const_to_op(
&self,
val: ty::Const<'tcx>,