From 8f00b5542caffd14988b923efe4f066b712d2858 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Fri, 30 Jul 2021 22:03:41 +0900 Subject: chore: upgrade Rust to 1.54.0 (#11554) --- cli/fmt_errors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/fmt_errors.rs') 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 += ""; } -- cgit v1.2.3