blob: 3432fccc3f899b32bd4dfb2b4954e7446d3bc170 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use indenter::indented;
use std::fmt::Write;
fn main() {
let input = "verify\nthis";
let mut output = String::new();
indented(&mut output).ind(12).write_str(input).unwrap();
println!("Before:\n{}\n", input);
println!("After:\n{}", output);
}
|