(self, f: impl FnOnce(Addr) -> Addr)
| 177 | } |
| 178 | |
| 179 | pub(crate) fn map(self, f: impl FnOnce(Addr) -> Addr) -> Self { |
| 180 | match self { |
| 181 | Self::Uninitialized => Self::Uninitialized, |
| 182 | Self::Initialized(addr) => Self::Initialized(f(addr)), |
| 183 | } |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | #[cfg(test)] |
no outgoing calls