title: How to format strings with indentation based on an integer?
body: <p>Is there a better way to print/format string indentation besides doing:</p>
  
  <pre><code>let text_to_indent = "Indented text!";
  for i in 0..indent {
      print!(" ");
  }
  println!("{}", text_to_indent);
  </code></pre>
  
  <p>Does Rust have a more convenient way to do this?</p>