Skip to content

Commit a0126b2

Browse files
authored
docs: fix typo in panic_hook example (tokio-rs#2453)
1 parent 52fbf75 commit a0126b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/examples/panic_hook.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() {
3030
// On nightly Rust, where the `PanicInfo` type also exposes a
3131
// `message()` method returning just the message, we could record
3232
// just the message instead of the entire `fmt::Display`
33-
// implementation, avoiding the duplciated location
33+
// implementation, avoiding the duplicated location
3434
tracing::error!(
3535
message = %panic,
3636
panic.file = location.file(),

0 commit comments

Comments
 (0)