Skip to main content

add_indented_text

Function add_indented_text 

Source
pub fn add_indented_text(text: &str, indent1: i64, indent2: i64) -> String
Expand description

Indent each line of text (Git strbuf_add_indented_text): the first line by indent1 spaces and subsequent lines by indent2. Used when wrap width is 0.