refactor: make job descriptions a static string
parent
28e655f38b
commit
04a301cc64
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue