Skip to content

Commit 85e061a

Browse files
committed
fix/extend some comments
1 parent ef5a574 commit 85e061a

File tree

1 file changed

+2
-1
lines changed
  • src/tools/miri/src/intrinsics

1 file changed

+2
-1
lines changed

src/tools/miri/src/intrinsics/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,15 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
9191
}
9292

9393
match intrinsic_name {
94+
// Basic control flow
9495
"abort" => {
9596
throw_machine_stop!(TerminationInfo::Abort(
9697
"the program aborted execution".to_owned()
9798
));
9899
}
99100
"catch_unwind" => {
100101
this.handle_catch_unwind(args, dest, ret)?;
101-
// THis pushed a stack frame, don't jump to `ret`.
102+
// This pushed a stack frame, don't jump to `ret`.
102103
return Ok(EmulateItemResult::AlreadyJumped);
103104
}
104105

0 commit comments

Comments
 (0)