diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-03-22 14:03:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 14:03:56 -0700 |
commit | 86cdf3703399367836c89accba3756437d820bb0 (patch) | |
tree | 986ab6c88e0a65ffaadb164eab94d44c0ff497b1 /cli/lsp/testing | |
parent | 08ec6e5831478f6d15188e91d9a8e3c00d80c1ed (diff) |
perf(cli): use args_os (#23039)
Extracted from #22718
Diffstat (limited to 'cli/lsp/testing')
-rw-r--r-- | cli/lsp/testing/execution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |