Skip to content

Commit

Permalink
Make EvalContext::step public again
Browse files Browse the repository at this point in the history
Fixes #55061
  • Loading branch information
bjorn3 committed Oct 14, 2018
1 parent 2bab4bf commit 9d3643d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/step.rs
Expand Up @@ -52,7 +52,7 @@ 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.
fn step(&mut self) -> EvalResult<'tcx, bool> {
pub fn step(&mut self) -> EvalResult<'tcx, bool> {
if self.stack.is_empty() {
return Ok(false);
}
Expand Down

0 comments on commit 9d3643d

Please sign in to comment.