Skip to content

Commit 8568204

Browse files
committed
Try with crate::error::Error
1 parent 4317263 commit 8568204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ impl fmt::Debug for Thread {
12751275
/// is the value the thread panicked with;
12761276
/// that is, the argument the `panic!` macro was called with.
12771277
/// Unlike with normal errors, this value doesn't implement
1278-
/// the [`Error`](std::error::Error) trait.
1278+
/// the [`Error`](crate::error::Error) trait.
12791279
///
12801280
/// Thus, a sensible way to handle a thread panic is to either:
12811281
/// 1. `unwrap` the `Result<T>`, propagating the panic

0 commit comments

Comments
 (0)