refactor: make job descriptions a static string

pull/24376/head
Marco Neumann 2021-08-31 15:13:51 +02:00
parent 28e655f38b
commit 04a301cc64
1 changed files with 1 additions and 1 deletions

View File

@ -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",