diff options
Diffstat (limited to 'src/libstd/thread.rs')
| -rw-r--r-- | src/libstd/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index 6c6c0ce85eb..8ef53a22aeb 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -327,7 +327,7 @@ impl Thread { /// Determines whether the current thread is panicking. pub fn panicking() -> bool { - thread_info::panicking() + unwind::panicking() } /// Block unless or until the current thread's token is made available (may wake spuriously). |
