Skip to content

Commit

Permalink
docs: fix typo in panic_hook example (#2453)
Browse files Browse the repository at this point in the history
  • Loading branch information
arifd authored and davidbarsky committed Sep 26, 2023
1 parent 394207a commit bd589c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/examples/panic_hook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit bd589c2

Please sign in to comment.