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

Function find_str

src/speech.rs:177–179  ·  view source on GitHub ↗
(dict: &'a Yaml, key: &'a str)

Source from the content-addressed store, hash-verified

175// }
176
177fn find_str<'a>(dict: &'a Yaml, key: &'a str) -> Option<&'a str> {
178 return dict[key].as_str();
179}
180
181/// Returns the Yaml as a `Hash` or an error if it isn't.
182pub fn as_hash_checked(value: &Yaml) -> Result<&Hash> {

Callers 1

buildMethod · 0.85

Calls 1

as_strMethod · 0.80

Tested by

no test coverage detected