2 ms·
The author encourages something like: Regex::new(r"\bstruct\b").some_custom_function_that_calls_expect() or Regex::new_or_panic(r"\bstruct\b") // Just calls
by gwbas1c 4y ago
The author encourages something like:
Regex::new(r"\bstruct\b").some_custom_function_that_calls_expect()
or
Regex::new_or_panic(r"\bstruct\b") // Just calls Regex::new(r"\bstruct\b").expect("bad regex string literal")