(input: &str)
| 41 | |
| 42 | impl SearchTopicSpec { |
| 43 | fn valid_path_spec(input: &str) -> bool { |
| 44 | lazy_static! { |
| 45 | static ref IS_ID_SPEC: Regex = Regex::new(ID_PATTERN).unwrap(); |
| 46 | } |
| 47 | IS_ID_SPEC.is_match(input) |
| 48 | } |
| 49 | |
| 50 | fn parse(input: &str) -> Result<Self> { |
| 51 | use std::str::FromStr; |
nothing calls this directly
no outgoing calls
no test coverage detected