Skip to content

Commit 6979eb1

Browse files
committed
Update tests/signer/commands/context.rs to derive Clone
1 parent 6046807 commit 6979eb1

File tree

1 file changed

+1
-8
lines changed
  • testnet/stacks-node/src/tests/signer/commands

1 file changed

+1
-8
lines changed

testnet/stacks-node/src/tests/signer/commands/context.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::fmt::Debug;
44
use std::sync::{Arc, Mutex};
55
use std::time::Duration;
66

7+
#[derive(Clone)]
78
pub struct SignerTestContext {
89
pub miners: Arc<Mutex<MultipleMinerTest>>,
910
}
@@ -14,14 +15,6 @@ impl Debug for SignerTestContext {
1415
}
1516
}
1617

17-
impl Clone for SignerTestContext {
18-
fn clone(&self) -> Self {
19-
Self {
20-
miners: self.miners.clone(),
21-
}
22-
}
23-
}
24-
2518
impl TestContext for SignerTestContext {}
2619

2720
impl SignerTestContext {

0 commit comments

Comments
 (0)