Skip to content

Commit 65fd453

Browse files
generatedunixname89002005320881meta-codesync[bot]
authored andcommitted
Fix clippy::unnecessary_to_owned issues in fbcode/hermetic_infra/reverie/tests/gdbserver-integration/gdbserver-helper/src
Reviewed By: dtolnay Differential Revision: D90960436 fbshipit-source-id: f025f54c5ad056168c9a8f7458e6d9bcc1a2ce15
1 parent 6f5a50b commit 65fd453

File tree

1 file changed

+2
-2
lines changed
  • tests/gdbserver-integration/gdbserver-helper/src

1 file changed

+2
-2
lines changed

tests/gdbserver-integration/gdbserver-helper/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ impl GdbClientCommand {
7272
command.arg("set remote hostio-open-packet 0");
7373
self.init_command_to_queue.iter().for_each(|iex| {
7474
command.arg("-iex");
75-
command.arg(iex.to_string());
75+
command.arg(iex);
7676
});
7777
self.command_to_queue.iter().for_each(|ex| {
7878
command.arg("-ex");
79-
command.arg(ex.to_string());
79+
command.arg(ex);
8080
});
8181
command.status()
8282
}

0 commit comments

Comments
 (0)