Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<Vec<Tip>, String>
Expand description

Parse the tips file’s text into the flattened tip list.

Exposed rather than private so the test can pin the embedded file’s shape without going through the process-wide cache.

§Errors

Returns the TOML diagnostic when text is not a well-formed tips file.