(self, f: F)
| 2020 | |
| 2021 | impl MachExceptionHandler { |
| 2022 | fn finalize<F: Fn(MachLabel) -> CodeOffset>(self, f: F) -> FinalizedMachExceptionHandler { |
| 2023 | match self { |
| 2024 | Self::Tag(tag, label) => FinalizedMachExceptionHandler::Tag(tag, f(label)), |
| 2025 | Self::Default(label) => FinalizedMachExceptionHandler::Default(f(label)), |
| 2026 | Self::Context(loc) => FinalizedMachExceptionHandler::Context(loc), |
| 2027 | } |
| 2028 | } |
| 2029 | } |
| 2030 | |
| 2031 | /// An item in the exception-handler list for a callsite, with final |
no test coverage detected