1
Fork 0

Remove speculation on cause of error

Co-authored-by: Jubilee <workingjubilee@gmail.com>
This commit is contained in:
Mahmoud Mazouz 2025-02-24 09:50:46 +01:00 committed by GitHub
parent db1f0d0458
commit 1ccdc06136
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"))
}
}
}