Skip to main content

format

Function format 

Source
pub fn format(source: &str) -> FormatResult
Expand description

Format a source to the house style with default options. A source that does not parse yields the first error as line:col: message, never a panic.