]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/thread.rs
Thread native name setting, fix #10302
[rust.git] / src / libstd / thread.rs
index 1f181e1fa2af56bcd6b85e9825dfaa5c512872be..a86b82b8c62ec210817f71c2d8f6620d76915b13 100644 (file)
@@ -382,7 +382,7 @@ pub fn yield_now() {
         unsafe { imp::yield_now() }
     }
 
-    /// Determines whether the current thread is panicking.
+    /// Determines whether the current thread is unwinding because of panic.
     #[inline]
     #[stable]
     pub fn panicking() -> bool {