Comment access to require_target

This commit is contained in:
Sergey Pepyakin 2019-04-16 16:47:45 +02:00
parent 36e671bc31
commit 65e8400e56
1 changed files with 1 additions and 1 deletions

View File

@ -1012,7 +1012,7 @@ fn require_target(
let is_stack_polymorphic = top_label(frame_stack).polymorphic_stack;
let frame = require_label(depth, frame_stack)?;
// TODO: Clean this mess.
// Get the label by the given `depth`.
let label = label_stack
.get(label_stack.len() - 1 - (depth as usize))
.expect("this is ensured by `require_label` above");