diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index 6364abba8a..40a36cf2db 100644 --- a/crates/zed/src/main.rs +++ b/crates/zed/src/main.rs @@ -366,7 +366,7 @@ fn init_panic_hook(app_version: String) { }), backtrace: format!("{:?}", backtrace) .split("\n") - .map(|a| a.to_string()) + .map(|line| line.to_string()) .collect(), // modified_backtrace: None, };