Skip to content

Commit

Permalink
Add comment about step being used by priroda
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Oct 14, 2018
1 parent 9d3643d commit 8a228fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_mir/interpret/step.rs
Expand Up @@ -52,6 +52,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
}

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

0 comments on commit 8a228fd

Please sign in to comment.