@@ -61,7 +61,7 @@ impl Jobs {
6161 }
6262
6363 pub fn handle_callback(
64− &mut self,
64+ &self,
6565 editor: &mut Editor,
6666 compositor: &mut Compositor,
6767 call: anyhow::Result<Option<Callback>>,
@@ -84,7 +84,7 @@ impl Jobs {
8484 }
8585 }
8686
87− pub fn add(&mut self, j: Job) {
87+ pub fn add(&self, j: Job) {
8888 if j.wait {
8989 self.wait_futures.push(j.future);
9090 } else {