aboutsummaryrefslogtreecommitdiffstats
path: root/src/run/mod.rs
diff options
context:
space:
mode:
authorJonas Maier <>2026-03-05 17:17:02 +0100
committerJonas Maier <>2026-03-05 17:17:02 +0100
commitf919c3e5d10db7afe41a14b94b99cd38e44d2720 (patch)
tree353d4cb8f7c7eb0e53f373356cf96f1a37d77283 /src/run/mod.rs
parentf3a42ef9ac1d08243f4ea50e3290512d1a07b283 (diff)
downloadpish-f919c3e5d10db7afe41a14b94b99cd38e44d2720.tar.gz
simplify
Diffstat (limited to 'src/run/mod.rs')
-rw-r--r--src/run/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/run/mod.rs b/src/run/mod.rs
index 9e4ace8..6484e30 100644
--- a/src/run/mod.rs
+++ b/src/run/mod.rs
@@ -89,9 +89,7 @@ pub fn run(se: &mut Session, cmd: Vec<u8>) {
};
let handle = std::thread::spawn(move || {
- let cmd = cmd;
- let c = &cmd.args;
- builtin.io(c, &mut input, &mut output)
+ builtin.io(&cmd.args, &mut input, &mut output)
});
threads.push(handle);