Skip to main content

parse_ron

Function parse_ron 

Source
pub fn parse_ron<T: DeserializeOwned>(
    file: &str,
    source: &str,
) -> Result<T, ContentError>
Expand description

Deserializes RON source; errors are attributed to file (a human-facing path) with RON’s 1-based line and column.