Flatten this error into its inner OOM.
(self)
| 388 | impl BoxedSliceFromFallibleIterError<OutOfMemory> { |
| 389 | /// Flatten this error into its inner OOM. |
| 390 | pub fn flatten(self) -> OutOfMemory { |
| 391 | match self { |
| 392 | Self::IterError(oom) | Self::Oom(oom) => oom, |
| 393 | } |
| 394 | } |
| 395 | } |
| 396 | |
| 397 | /// Create a `Box<[T]>` from the given iterator's `Result<T, E>` items. |
no outgoing calls