1 use debug_tree::*; main()2fn main() { 3 // output to file at the end of this block 4 defer_write!("examples/out/multi_line.txt"); 5 add_branch!("1"); 6 add_leaf!("1.1\nAnother line...\n... and one more line"); 7 add_leaf!("1.2"); 8 } 9
1 use debug_tree::*; main()2fn main() { 3 // output to file at the end of this block 4 defer_write!("examples/out/multi_line.txt"); 5 add_branch!("1"); 6 add_leaf!("1.1\nAnother line...\n... and one more line"); 7 add_leaf!("1.2"); 8 } 9