Skip to content

Commit 9d1ad26

Browse files
Remove speculation on cause of error
Co-authored-by: Jubilee <[email protected]>
1 parent 9d830bd commit 9d1ad26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: std/src/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ impl<'scope, T> JoinInner<'scope, T> {
17421742
if let Some(packet) = Arc::get_mut(&mut self.packet) {
17431743
packet.result.get_mut().take().unwrap()
17441744
} else {
1745-
Err(Box::new("thread terminated unexpectedly (e.g. due to OS intervention)"))
1745+
Err(Box::new("thread terminated unexpectedly"))
17461746
}
17471747
}
17481748
}

0 commit comments

Comments
 (0)