summaryrefslogtreecommitdiff
path: root/runtime/ops/process.rs
diff options
context:
space:
mode:
author林炳权 <695601626@qq.com>2024-01-02 06:22:48 +0800
committerGitHub <noreply@github.com>2024-01-01 23:22:48 +0100
commit96b581bdd2bedb31aa51c0a992686f27ed1a1f10 (patch)
tree3e141ed70531ff37f93eb25d4ae135b97f14b7a1 /runtime/ops/process.rs
parent7e72f3af6152d4b62c2ea94d025dfa297a6b0cb4 (diff)
chore: update to Rust 1.75 (#21731)
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r--runtime/ops/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index 5fee08383..bda6045ac 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -706,7 +706,7 @@ mod deprecated {
let env = run_args.env;
let cwd = run_args.cwd;
- let mut c = Command::new(args.get(0).unwrap());
+ let mut c = Command::new(args.first().unwrap());
(1..args.len()).for_each(|i| {
let arg = args.get(i).unwrap();
c.arg(arg);