about summary refs log tree commit diff
path: root/src/libstd/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/thread.rs')
-rw-r--r--src/libstd/thread.rs2
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).