MCPcopy Create free account
hub / github.com/daisy/MathCAT / remove_optional_indicators

Function remove_optional_indicators

src/speech.rs:214–216  ·  view source on GitHub ↗
(str: &str)

Source from the content-addressed store, hash-verified

212const OPTIONAL_INDICATOR_LEN: usize = OPTIONAL_INDICATOR.len();
213
214pub fn remove_optional_indicators(str: &str) -> String {
215 return str.replace(OPTIONAL_INDICATOR, "");
216}
217
218/// Given a string that should be Yaml, it calls `build_fn` with that string.
219/// The build function/closure should process the Yaml as appropriate and capture any errors and write them to `std_err`.

Callers 2

speak_rulesFunction · 0.85
apply_navigation_rulesFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected