From 86cdf3703399367836c89accba3756437d820bb0 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 22 Mar 2024 14:03:56 -0700 Subject: perf(cli): use args_os (#23039) Extracted from #22718 --- cli/lsp/testing/execution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/lsp/testing') diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 6b89f0e43..e1189ec2c 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -212,7 +212,7 @@ impl TestRun { ) -> Result<(), AnyError> { let args = self.get_args(); lsp_log!("Executing test run with arguments: {}", args.join(" ")); - let flags = flags_from_vec(args.into_iter().map(String::from).collect())?; + let flags = flags_from_vec(args.into_iter().map(From::from).collect())?; let factory = CliFactory::from_flags(flags)?; // Various test files should not share the same permissions in terms of // `PermissionsContainer` - otherwise granting/revoking permissions in one -- cgit v1.2.3