Debian Codegraph @

third_party/rust/debug_tree/examples/multi_line.rs

raw
1 use debug_tree::*;
2 fn 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 }