indent

Function indent 

Source
pub fn indent(text: &str, indent_str: &str) -> String
Expand description

Indent each line of text.

§Arguments

  • text - The text to indent.
  • indent - The indentation string.

§Returns

The indented text.