summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-03-22 14:03:56 -0700
committerGitHub <noreply@github.com>2024-03-22 14:03:56 -0700
commit86cdf3703399367836c89accba3756437d820bb0 (patch)
tree986ab6c88e0a65ffaadb164eab94d44c0ff497b1 /cli/main.rs
parent08ec6e5831478f6d15188e91d9a8e3c00d80c1ed (diff)
perf(cli): use args_os (#23039)
Extracted from #22718
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 729559d9a..32e40ff51 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -320,7 +320,7 @@ pub fn main() {
Box::new(util::draw_thread::DrawThread::show),
);
- let args: Vec<String> = env::args().collect();
+ let args: Vec<_> = env::args_os().collect();
// NOTE(lucacasonato): due to new PKU feature introduced in V8 11.6 we need to
// initialize the V8 platform on a parent thread of all threads that will spawn