]> git.lizzy.rs Git - rust.git/commitdiff
Add comment about step being used by priroda
authorbjorn3 <bjorn3@users.noreply.github.com>
Sun, 14 Oct 2018 09:50:05 +0000 (11:50 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Oct 2018 09:50:05 +0000 (11:50 +0200)
src/librustc_mir/interpret/step.rs

index 2f05af7fc29089c60101fc585cc9d30d9b7f12c1..d15867eacddc60dc11c9f3581192e9e77264796a 100644 (file)
@@ -52,6 +52,8 @@ pub fn run(&mut self) -> EvalResult<'tcx> {
     }
 
     /// 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);