// Indent the current line in to DESCRIPTION_INDENT chars.
// Returns a boolean indicating whether or not spacing was added.
Indent the current line in to DESCRIPTION_INDENT chars.
Returns a boolean indicating whether or not spacing was added.
Indent the current line in to DESCRIPTION_INDENT chars . Returns a boolean indicating whether or not spacing was added .
fn indent_description(line: &mut String) -> bool {
    let cur_len = char_len(line);
    if cur_len < DESCRIPTION_INDENT {
        let num_spaces = DESCRIPTION_INDENT - cur_len;
        line.extend(std::iter::repeat(' ').take(num_spaces));
        true
    } else {
        false
    }
}
fn indent_description ( line : & mut String ) -> bool { let cur_len = char_len ( line ) ; if cur_len < DESCRIPTION_INDENT { let num_spaces = DESCRIPTION_INDENT - cur_len ; line . extend ( std :: iter :: repeat ( ' ' ) . take ( num_spaces ) ) ; true } else { false } }
Indent the current line in to DESCRIPTION_INDENT chars.
Indent the current line in to DESCRIPTION_INDENT chars .
line
&mut String