diff options
Diffstat (limited to 'cli/fmt_errors.rs')
-rw-r--r-- | cli/fmt_errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs index 9431dab07..2078c8b32 100644 --- a/cli/fmt_errors.rs +++ b/cli/fmt_errors.rs @@ -67,7 +67,7 @@ fn format_frame(frame: &JsStackFrame) -> String { formatted_method += &format!("{}.", type_name); } } - formatted_method += &function_name; + formatted_method += function_name; if let Some(method_name) = &frame.method_name { if !function_name.ends_with(method_name) { formatted_method += &format!(" [as {}]", method_name); @@ -78,7 +78,7 @@ fn format_frame(frame: &JsStackFrame) -> String { formatted_method += &format!("{}.", type_name); } if let Some(method_name) = &frame.method_name { - formatted_method += &method_name + formatted_method += method_name } else { formatted_method += "<anonymous>"; } |