(&self, f: impl FnOnce() -> T)
| 21 | |
| 22 | #[inline] |
| 23 | pub fn get_or_init(&self, f: impl FnOnce() -> T) -> &T { |
| 24 | self.0.get_or_init(f) |
| 25 | } |
| 26 | |
| 27 | #[inline] |
| 28 | pub fn get_or_try_init<E>(&self, f: impl FnOnce() -> Result<T, E>) -> Result<&T, E> { |
no outgoing calls
no test coverage detected