Skip to main content

format_source

Function format_source 

Source
pub fn format_source(src: &str, opts: &FmtOptions) -> String
Expand description

Format zsh source: reindent by block structure, strip trailing whitespace, ensure exactly one trailing newline. See module doc for the conservation guarantees.