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.

Rename field to panicked_on

Joseph Lyonsc55aee84d3fc
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index 4b0661c6e62..e22edee5f6c 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -377,7 +377,7 @@ struct Panic {
os_name: String,
os_version: Option<String>,
architecture: String,
- time: u128,
+ panicked_on: u128,
}
#[derive(Serialize)]
@@ -428,7 +428,7 @@ fn init_panic_hook(app: &App) {
.ok()
.map(|os_version| os_version.to_string()),
architecture: env::consts::ARCH.into(),
- time: SystemTime::now()
+ panicked_on: SystemTime::now()
.duration_since(UNIX_EPOCH)
.unwrap()
.as_millis(),