mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Add comment.
This commit is contained in:
parent
86dbcb5390
commit
d0cc00f758
@ -671,6 +671,9 @@ pub enum TerminatorKind<'tcx> {
|
|||||||
/// as parameters, and `None` for the destination. Keep in mind that the `cleanup` path is not
|
/// as parameters, and `None` for the destination. Keep in mind that the `cleanup` path is not
|
||||||
/// necessarily executed even in the case of a panic, for example in `-C panic=abort`. If the
|
/// necessarily executed even in the case of a panic, for example in `-C panic=abort`. If the
|
||||||
/// assertion does not fail, execution continues at the specified basic block.
|
/// assertion does not fail, execution continues at the specified basic block.
|
||||||
|
///
|
||||||
|
/// When overflow checking is disabled and we are generating run-time code, the `Overflow*`
|
||||||
|
/// variants of this terminator are codegened as simple `goto target`.
|
||||||
Assert {
|
Assert {
|
||||||
cond: Operand<'tcx>,
|
cond: Operand<'tcx>,
|
||||||
expected: bool,
|
expected: bool,
|
||||||
|
Loading…
Reference in New Issue
Block a user