diff --git a/src/job.rs b/src/job.rs index d103584..bfc003e 100644 --- a/src/job.rs +++ b/src/job.rs @@ -367,7 +367,7 @@ impl JobMonitor { message: Option, noop: bool, ) { - let mut metadata = self.jobs.get_mut(&job_id).unwrap(); + let metadata = self.jobs.get_mut(&job_id).unwrap(); let old_state = metadata.state; if old_state == new_state {