mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 02:22:40 +00:00
chore: upgrade Rust to 1.54.0 (#11554)
This commit is contained in:
parent
c909faf9e6
commit
8f00b5542c
36 changed files with 156 additions and 161 deletions
|
@ -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>";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue