From 57c4d63e718bfb1ca4e402d60697308f174e5237 Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Wed, 27 Mar 2024 18:40:17 +0200 Subject: [PATCH] Add Clone to Shell --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 63da33c..1ffa36d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -380,7 +380,7 @@ macro_rules! cmd { /// assert_eq!(cwd, process_cwd.join("./target")); /// # Ok::<(), xshell::Error>(()) /// ``` -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Shell { cwd: RefCell, env: RefCell>,