Skip to main content

format_range

Function format_range 

Source
pub fn format_range(
    source: &str,
    range: TextRange,
) -> Result<Option<(TextRange, String)>, String>
Expand description

Formats the single top-level declaration touched by a source range.