diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2018-10-14 11:50:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-14 11:50:05 +0200 |
| commit | 8a228fd7b6521bff7e2913c30f4ca04e9863f470 (patch) | |
| tree | 18cc605b7fd96fd78f9bb10b4b95b2d9dc7ab3da | |
| parent | 9d3643dd72aad4be88ee6aceb1e152bf44a8efe5 (diff) | |
| download | rust-8a228fd7b6521bff7e2913c30f4ca04e9863f470.tar.gz rust-8a228fd7b6521bff7e2913c30f4ca04e9863f470.zip | |
Add comment about step being used by priroda
| -rw-r--r-- | src/librustc_mir/interpret/step.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_mir/interpret/step.rs b/src/librustc_mir/interpret/step.rs index 2f05af7fc29..d15867eacdd 100644 --- a/src/librustc_mir/interpret/step.rs +++ b/src/librustc_mir/interpret/step.rs @@ -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); |
