diff options
| author | mo8it <mo8it@proton.me> | 2024-04-09 21:16:27 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-09 21:16:27 +0200 |
| commit | 787bec9875ec3e76d5870808cc7299da1d26dea6 (patch) | |
| tree | 79492b65170a6424fc3dd7669b02646cfb976d94 /src/watch | |
| parent | f0ce2c1afa21fdaa34aed8f21c1ef4d3c47cebdd (diff) | |
Use exercises as leaked
Diffstat (limited to 'src/watch')
| -rw-r--r-- | src/watch/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch/state.rs b/src/watch/state.rs index f614ae0..d8fed5b 100644 --- a/src/watch/state.rs +++ b/src/watch/state.rs @@ -18,7 +18,7 @@ use crate::{ pub struct WatchState<'a> { writer: StdoutLock<'a>, exercises: &'static [Exercise], - exercise: &'a Exercise, + exercise: &'static Exercise, current_exercise_ind: usize, stdout: Option<Vec<u8>>, stderr: Option<Vec<u8>>, |
