Skip to main content

build_indent

Function build_indent 

Source
pub fn build_indent(width: usize, settings: &Settings) -> String
Expand description

Build a leading-whitespace string of width columns honoring expandtab (spaces) vs noexpandtab (tabs for full tabstop runs, spaces remainder).