From 44d26e1d81635d5eaaea89601af072af6df183b6 Mon Sep 17 00:00:00 2001 From: Neal Fachan Date: Wed, 23 Oct 2024 16:56:56 -0700 Subject: [PATCH] RunningProgress can't be Clone, since it will panic on the second drop. When dropping, we remove the key from hash table and panic if it's not there. --- crates/maelstrom-client-process/src/progress.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/maelstrom-client-process/src/progress.rs b/crates/maelstrom-client-process/src/progress.rs index 73d828ea..1a33b10e 100644 --- a/crates/maelstrom-client-process/src/progress.rs +++ b/crates/maelstrom-client-process/src/progress.rs @@ -36,7 +36,7 @@ where } } -#[derive(Clone, Debug)] +#[derive(Debug)] pub struct RunningProgress { name: String, progress: Arc,