(path: &str)
| 60 | |
| 61 | #[inline] |
| 62 | fn from_str(path: &str) -> Option<Self> { |
| 63 | for (k, v) in UNINIT_API_REGEX.iter() { |
| 64 | if v.is_match(path) { |
| 65 | return Some(*k); |
| 66 | } |
| 67 | } |
| 68 | None |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected