Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(path: impl AsRef<Path>) -> Result<Document, Diagnostic>
Expand description

Read UTF-8 source with a 4 MiB cap before allocating the full input.