From 96b581bdd2bedb31aa51c0a992686f27ed1a1f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E7=82=B3=E6=9D=83?= <695601626@qq.com> Date: Tue, 2 Jan 2024 06:22:48 +0800 Subject: chore: update to Rust 1.75 (#21731) --- runtime/ops/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/ops') 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); -- cgit v1.2.3