diff --git a/data_types/src/job.rs b/data_types/src/job.rs index 856b877201..dd2e031362 100644 --- a/data_types/src/job.rs +++ b/data_types/src/job.rs @@ -109,7 +109,7 @@ impl Job { } /// Returns a human readable description associated with this job, if any - pub fn description(&self) -> &str { + pub fn description(&self) -> &'static str { match self { Self::Dummy { .. } => "Dummy Job, for testing", Self::CompactChunk { .. } => "Compacting chunk to ReadBuffer",