Skip to main content

format_source

Function format_source 

Source
pub fn format_source(source: &str) -> String
Expand description

Format a whole source text: structural reindentation for code, raw passthrough for string interiors and prose, LF endings, preserved final newline.