mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 05:25:38 +00:00
Remove speculation on cause of error
Co-authored-by: Jubilee <workingjubilee@gmail.com>
This commit is contained in:
parent
db1f0d0458
commit
1ccdc06136
@ -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"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user