summaryrefslogtreecommitdiff
path: root/cli/tools/installer.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-01-15 01:10:12 -0500
committerGitHub <noreply@github.com>2022-01-15 07:10:12 +0100
commitad224f53c798e8417a63d98daeaf3cadc199666c (patch)
treef323be53d4f5b4289cd04296af1d35028dc23b15 /cli/tools/installer.rs
parent903cb48fe94bbbb0c43f17cf51e84a5583ddb728 (diff)
chore: upgrade to rust 1.58 (#13377)
Diffstat (limited to 'cli/tools/installer.rs')
-rw-r--r--cli/tools/installer.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs
index 383bf74cf..e21e4954a 100644
--- a/cli/tools/installer.rs
+++ b/cli/tools/installer.rs
@@ -342,11 +342,11 @@ fn resolve_shim_data(
}
if let Some(inspect) = flags.inspect {
- executable_args.push(format!("--inspect={}", inspect.to_string()));
+ executable_args.push(format!("--inspect={}", inspect));
}
if let Some(inspect_brk) = flags.inspect_brk {
- executable_args.push(format!("--inspect-brk={}", inspect_brk.to_string()));
+ executable_args.push(format!("--inspect-brk={}", inspect_brk));
}
if let Some(import_map_path) = &flags.import_map_path {
@@ -989,12 +989,12 @@ mod tests {
let mut expected_string = format!(
"--import-map '{}' 'http://localhost:4545/cat.ts'",
- import_map_url.to_string()
+ import_map_url
);
if cfg!(windows) {
expected_string = format!(
"\"--import-map\" \"{}\" \"http://localhost:4545/cat.ts\"",
- import_map_url.to_string()
+ import_map_url
);
}