# Safety `self.is_oom()` must be true.
(&self)
| 1603 | /// |
| 1604 | /// `self.is_oom()` must be true. |
| 1605 | unsafe fn unchecked_oom(&self) -> &OutOfMemory { |
| 1606 | debug_assert!(self.is_oom()); |
| 1607 | // Safety: `self.is_oom()` and `OutOfMemory` has the same representation |
| 1608 | // as `Self`. |
| 1609 | unsafe { mem::transmute(self) } |
| 1610 | } |
| 1611 | |
| 1612 | /// # Safety |
| 1613 | /// |
no outgoing calls
no test coverage detected