summaryrefslogtreecommitdiff
path: root/src/watch
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch')
-rw-r--r--src/watch/state.rs2
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>>,