Skip to content

Commit 8a228fd

Browse files
authored
Add comment about step being used by priroda
1 parent 9d3643d commit 8a228fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_mir/interpret/step.rs

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
5252
}
5353

5454
/// Returns true as long as there are more things to do.
55+
///
56+
/// This is used by [priroda](https://github.com/oli-obk/priroda)
5557
pub fn step(&mut self) -> EvalResult<'tcx, bool> {
5658
if self.stack.is_empty() {
5759
return Ok(false);

0 commit comments

Comments
 (0)