Skip to content

Commit

Permalink
Rollup merge of rust-lang#70061 - JOE1994:patch-2, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Cosmetic fixes in documentation

typo fix + markdown fix for consistency
  • Loading branch information
Centril authored Mar 17, 2020
2 parents 8582b04 + 442e5ff commit dd29171
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc_mir/interpret/eval_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ pub enum StackPopCleanup {
/// Jump to the next block in the caller, or cause UB if None (that's a function
/// that may never return). Also store layout of return place so
/// we can validate it at that layout.
/// `ret` stores the block we jump to on a normal return, while 'unwind'
/// stores the block used for cleanup during unwinding
/// `ret` stores the block we jump to on a normal return, while `unwind`
/// stores the block used for cleanup during unwinding.
Goto { ret: Option<mir::BasicBlock>, unwind: Option<mir::BasicBlock> },
/// Just do nohing: Used by Main and for the box_alloc hook in miri.
/// Just do nothing: Used by Main and for the `box_alloc` hook in miri.
/// `cleanup` says whether locals are deallocated. Static computation
/// wants them leaked to intern what they need (and just throw away
/// the entire `ecx` when it is done).
Expand Down

0 comments on commit dd29171

Please sign in to comment.