Skip to content

Commit b8c6d1c

Browse files
committed
Fix comment within sanity_check.
1 parent c48650d commit b8c6d1c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/librustc_borrowck/borrowck/mir/dataflow/sanity_check.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ pub fn sanity_check_via_rustc_peek<'a, 'tcx, O>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
8080
let move_data = flow_ctxt.move_data();
8181

8282
// Emulate effect of all statements in the block up to (but
83-
// not including) the assignment to `peek_arg_lval`. Do *not*
84-
// include terminator (since we are peeking the state of the
85-
// argument at time immediate preceding Call to `rustc_peek`).
83+
// not including) the borrow within `peek_arg_lval`. Do *not*
84+
// include call to `peek_arg_lval` itself (since we are
85+
// peeking the state of the argument at time immediate
86+
// preceding Call to `rustc_peek`).
8687

8788
let mut sets = super::BlockSets { on_entry: &mut entry,
8889
gen_set: &mut gen,

0 commit comments

Comments
 (0)