Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd29171

Browse files
authoredMar 17, 2020
Rollup merge of rust-lang#70061 - JOE1994:patch-2, r=Dylan-DPC
Cosmetic fixes in documentation typo fix + markdown fix for consistency
2 parents 8582b04 + 442e5ff commit dd29171

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/librustc_mir/interpret/eval_context.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ pub enum StackPopCleanup {
9898
/// Jump to the next block in the caller, or cause UB if None (that's a function
9999
/// that may never return). Also store layout of return place so
100100
/// we can validate it at that layout.
101-
/// `ret` stores the block we jump to on a normal return, while 'unwind'
102-
/// stores the block used for cleanup during unwinding
101+
/// `ret` stores the block we jump to on a normal return, while `unwind`
102+
/// stores the block used for cleanup during unwinding.
103103
Goto { ret: Option<mir::BasicBlock>, unwind: Option<mir::BasicBlock> },
104-
/// Just do nohing: Used by Main and for the box_alloc hook in miri.
104+
/// Just do nothing: Used by Main and for the `box_alloc` hook in miri.
105105
/// `cleanup` says whether locals are deallocated. Static computation
106106
/// wants them leaked to intern what they need (and just throw away
107107
/// the entire `ecx` when it is done).

0 commit comments

Comments
 (0)
Please sign in to comment.