diff --git a/src/repo/sled.rs b/src/repo/sled.rs index ff45e04..575aa1e 100644 --- a/src/repo/sled.rs +++ b/src/repo/sled.rs @@ -807,7 +807,7 @@ impl QueueRepo for SledRepo { .read() .unwrap() .get(&queue_name) - .map(Arc::clone); + .cloned(); let notify = if let Some(notify) = opt { notify