From a0126b2e2d465e8e6d514acdf128fcef5b863d27 Mon Sep 17 00:00:00 2001 From: Arif Driessen Date: Wed, 8 Feb 2023 19:26:50 +0100 Subject: [PATCH] docs: fix typo in `panic_hook` example (#2453) --- examples/examples/panic_hook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/examples/panic_hook.rs b/examples/examples/panic_hook.rs index 1c86f6d060..5bfd77355c 100644 --- a/examples/examples/panic_hook.rs +++ b/examples/examples/panic_hook.rs @@ -30,7 +30,7 @@ fn main() { // On nightly Rust, where the `PanicInfo` type also exposes a // `message()` method returning just the message, we could record // just the message instead of the entire `fmt::Display` - // implementation, avoiding the duplciated location + // implementation, avoiding the duplicated location tracing::error!( message = %panic, panic.file = location.file(),