1
Fork 0

clarify comment

Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
This commit is contained in:
Ralf Jung 2024-05-22 09:00:07 +02:00
parent c0b4b454c3
commit cb5319483e
2 changed files with 6 additions and 1 deletions

View file

@ -324,7 +324,9 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
}
}
/// Returns the result of the specified operation, and whether it overflowed.
/// Returns the result of the specified operation.
///
/// Whether this produces a scalar or a pair depends on the specific `bin_op`.
pub fn binary_op(
&self,
bin_op: mir::BinOp,