From 6c0b825b3ac454583c74b9e4a3a765847ea02244 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 25 Nov 2019 12:29:35 +0100 Subject: [PATCH 1/1] add forum link --- personal/_posts/2019-11-25-how-to-panic-in-rust.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/personal/_posts/2019-11-25-how-to-panic-in-rust.md b/personal/_posts/2019-11-25-how-to-panic-in-rust.md index 83216ad..2c03da8 100644 --- a/personal/_posts/2019-11-25-how-to-panic-in-rust.md +++ b/personal/_posts/2019-11-25-how-to-panic-in-rust.md @@ -1,9 +1,10 @@ --- title: "How to Panic in Rust" categories: rust +forum: https://internals.rust-lang.org/t/how-to-panic-in-rust/11368 --- -What exactly happens when you write `panic!()`? +What exactly happens when you `panic!()`? I recently spent a lot of time looking at the parts of the standard library concerned with this, and it turns out the answer is quite complicated! I have not been able to find docs explaining the high-level picture of panicking in Rust, so this feels worth writing down. -- 2.30.2