diff options
| author | Mahmoud Mazouz <mazouz.mahmoud@outlook.com> | 2025-02-24 09:50:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 09:50:46 +0100 |
| commit | 1ccdc06136ccb134f30d6604e89a659eae62b032 (patch) | |
| tree | 4cf0f80c020d4040eebd6bcf77b4c2ffc164f73d /library/std/src/thread/mod.rs | |
| parent | db1f0d045887e8046dd542e119b27773991039b6 (diff) | |
| download | rust-1ccdc06136ccb134f30d6604e89a659eae62b032.tar.gz rust-1ccdc06136ccb134f30d6604e89a659eae62b032.zip | |
Remove speculation on cause of error
Co-authored-by: Jubilee <workingjubilee@gmail.com>
Diffstat (limited to 'library/std/src/thread/mod.rs')
| -rw-r--r-- | library/std/src/thread/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs index f5101a66ce1..d9e28acdcda 100644 --- a/library/std/src/thread/mod.rs +++ b/library/std/src/thread/mod.rs @@ -1742,7 +1742,7 @@ impl<'scope, T> JoinInner<'scope, T> { if let Some(packet) = Arc::get_mut(&mut self.packet) { packet.result.get_mut().take().unwrap() } else { - Err(Box::new("thread terminated unexpectedly (e.g. due to OS intervention)")) + Err(Box::new("thread terminated unexpectedly")) } } } |
