summaryrefslogtreecommitdiff
path: root/cli/fmt_errors.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/fmt_errors.rs
parent903cb48fe94bbbb0c43f17cf51e84a5583ddb728 (diff)
chore: upgrade to rust 1.58 (#13377)
Diffstat (limited to 'cli/fmt_errors.rs')
-rw-r--r--cli/fmt_errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs
index 126621279..b6e44ea07 100644
--- a/cli/fmt_errors.rs
+++ b/cli/fmt_errors.rs
@@ -81,7 +81,7 @@ fn format_frame(frame: &JsStackFrame) -> String {
if frame.is_promise_all {
result += &italic_bold(&format!(
"Promise.all (index {})",
- frame.promise_index.unwrap_or_default().to_string()
+ frame.promise_index.unwrap_or_default()
))
.to_string();
return result;