Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Give closure parameter a name

Joseph Lyons0326a45a91ad
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index 6364abba8af..40a36cf2dba 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,
};