(&mut self)
| 1560 | impl<'store> Executor<'store, false> { |
| 1561 | #[inline(always)] |
| 1562 | pub(crate) fn run_to_completion(&mut self) -> Result<(), Trap> { |
| 1563 | // ideally we use `loop_match` / `become` once thats stabilized |
| 1564 | loop { |
| 1565 | if self.exec()?.is_some() { |
| 1566 | return Ok(()); |
| 1567 | } |
| 1568 | } |
| 1569 | } |
| 1570 | |
| 1571 | #[cfg(feature = "std")] |
| 1572 | #[inline(always)] |